Click here to Skip to main content
15,915,050 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A better understanding of Thread Local Storage Pin
ForNow14-May-08 14:00
ForNow14-May-08 14:00 
GeneralRe: A better understanding of Thread Local Storage Pin
ForNow13-May-08 14:56
ForNow13-May-08 14:56 
QuestionClosing AfxMessageBox Pin
Sunil P V13-May-08 4:59
Sunil P V13-May-08 4:59 
AnswerRe: Closing AfxMessageBox Pin
Iain Clarke, Warrior Programmer13-May-08 5:11
Iain Clarke, Warrior Programmer13-May-08 5:11 
AnswerRe: Closing AfxMessageBox Pin
Mark Salsbery13-May-08 5:12
Mark Salsbery13-May-08 5:12 
GeneralRe: Closing AfxMessageBox Pin
Sunil P V13-May-08 20:19
Sunil P V13-May-08 20:19 
GeneralRe: Closing AfxMessageBox Pin
Mark Salsbery14-May-08 5:34
Mark Salsbery14-May-08 5:34 
QuestionTCHAR porting issues while porting from VC6 to VC8 Pin
Rajesh_Parameswaran13-May-08 3:52
Rajesh_Parameswaran13-May-08 3:52 
Hi all,

I'm using Visual Studio 2005. I have a workspace in visual C++ 6.0 which provides a set of library functions[DLL]. I have a client application which uses one of the function in the library. This client was working perfectly in VC6.0, but when I ported to VC8, it started showing link error:

Signature of the Function in the library[DLL] Header:

ULONG sendInfo(const bool isRequest, TCHAR pParameters[MESSAGES_PARAMS][MESSAGE_SIZE], ULONG netCallId);

Implementation of the Function in the library[DLL] Source:

ULONG NIHAI_TAPI::sendInfo(const bool isRequest, TCHAR pParameters[MESSAGES_PARAMS][MESSAGE_SIZE], ULONG netCallId)
{
....
....
....
}

Client Application Call:

TCHAR messageParameters[MESSAGES_PARAMS][MESSAGE_SIZE];
ULONG netCallId;
bool request;

returnCode = tapiConnection.sendInfo(request, messageParameters, netCallId);

But I'm getting a link error:

nihai_worker.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: unsigned long __thiscall NIHAI_TAPI::sendInfo(bool,unsigned short (* const)[81],unsigned long)" (__imp_?sendInfo@NIHAI_TAPI@@QAEK_NQAY0FB@GK@Z) referenced in function "private: unsigned long __thiscall NIHAI_Worker::sendToTAPI(unsigned int,unsigned short (* const)[81],unsigned long)" (?sendToTAPI@NIHAI_Worker@@AAEKIQAY0FB@GK@Z)

Kindly suggest a resolution for the above problem.

Thanks in Advance.

regards,
Rajesh
AnswerRe: TCHAR porting issues while porting from VC6 to VC8 Pin
Iain Clarke, Warrior Programmer13-May-08 4:00
Iain Clarke, Warrior Programmer13-May-08 4:00 
GeneralPlz sir slow down Pin
CPallini13-May-08 4:08
mveCPallini13-May-08 4:08 
GeneralRe: Plz sir slow down Pin
Iain Clarke, Warrior Programmer13-May-08 4:13
Iain Clarke, Warrior Programmer13-May-08 4:13 
GeneralRe: Plz sir slow down Pin
Cedric Moonen13-May-08 4:25
Cedric Moonen13-May-08 4:25 
GeneralRe: Plz sir slow down Pin
CPallini13-May-08 4:26
mveCPallini13-May-08 4:26 
GeneralRe: Plz sir slow down Pin
Cedric Moonen13-May-08 4:28
Cedric Moonen13-May-08 4:28 
GeneralRe: Plz sir slow down Pin
Rajesh_Parameswaran13-May-08 4:36
Rajesh_Parameswaran13-May-08 4:36 
QuestionRe: Plz sir slow down Pin
Rajkumar R13-May-08 4:45
Rajkumar R13-May-08 4:45 
AnswerRe: Plz sir slow down Pin
Rajesh_Parameswaran13-May-08 4:52
Rajesh_Parameswaran13-May-08 4:52 
GeneralRe: Plz sir slow down Pin
Rajkumar R13-May-08 5:33
Rajkumar R13-May-08 5:33 
GeneralRe: Plz sir slow down Pin
CPallini13-May-08 4:47
mveCPallini13-May-08 4:47 
GeneralRe: Plz sir slow down Pin
Rajkumar R13-May-08 18:59
Rajkumar R13-May-08 18:59 
GeneralRe: Plz sir slow down Pin
CPallini13-May-08 20:55
mveCPallini13-May-08 20:55 
AnswerRe: TCHAR porting issues while porting from VC6 to VC8 Pin
CPallini13-May-08 4:05
mveCPallini13-May-08 4:05 
AnswerRe: TCHAR porting issues while porting from VC6 to VC8 Pin
Iain Clarke, Warrior Programmer13-May-08 5:15
Iain Clarke, Warrior Programmer13-May-08 5:15 
QuestionPassing a function as parameter. Pin
mikyivy13-May-08 3:45
mikyivy13-May-08 3:45 
AnswerRe: Passing a function as parameter. Pin
Rajkumar R13-May-08 3:51
Rajkumar R13-May-08 3:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.