Click here to Skip to main content
15,908,776 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: List control - Mouse Move Pin
Naveen7-Jun-06 1:19
Naveen7-Jun-06 1:19 
GeneralRe: List control - Mouse Move Pin
RajiRaghu7-Jun-06 1:59
RajiRaghu7-Jun-06 1:59 
GeneralRe: List control - Mouse Move Pin
Naveen7-Jun-06 2:05
Naveen7-Jun-06 2:05 
GeneralRe: List control - Mouse Move Pin
Nishad S7-Jun-06 2:19
Nishad S7-Jun-06 2:19 
AnswerRe: List control - Mouse Move Pin
Viorel.7-Jun-06 1:34
Viorel.7-Jun-06 1:34 
AnswerRe: List control - Mouse Move Pin
Nishad S7-Jun-06 2:17
Nishad S7-Jun-06 2:17 
QuestionCan window be create in a window service? Pin
sunyw_20067-Jun-06 0:27
sunyw_20067-Jun-06 0:27 
AnswerRe: Com not getting registered Pin
Michael Dunn7-Jun-06 2:41
sitebuilderMichael Dunn7-Jun-06 2:41 
QuestionKey Event In Split Window Pin
g_sandipan6-Jun-06 23:53
g_sandipan6-Jun-06 23:53 
AnswerRe: Key Event In Split Window Pin
FarPointer7-Jun-06 3:25
FarPointer7-Jun-06 3:25 
QuestionKeystrokes in Edit control [modified] Pin
happy_ram6-Jun-06 22:59
happy_ram6-Jun-06 22:59 
AnswerRe: Keystrokes in Edit control Pin
Naveen6-Jun-06 23:33
Naveen6-Jun-06 23:33 
AnswerRe: Keystrokes in Edit control Pin
Laxman Auti6-Jun-06 23:48
Laxman Auti6-Jun-06 23:48 
GeneralRe: Keystrokes in Edit control [modified] Pin
happy_ram7-Jun-06 1:29
happy_ram7-Jun-06 1:29 
GeneralRe: Keystrokes in Edit control [modified] Pin
Naveen7-Jun-06 1:37
Naveen7-Jun-06 1:37 
GeneralRe: Keystrokes in Edit control [modified] Pin
happy_ram7-Jun-06 1:49
happy_ram7-Jun-06 1:49 
GeneralRe: Keystrokes in Edit control [modified] Pin
Naveen7-Jun-06 1:56
Naveen7-Jun-06 1:56 
GeneralRe: Keystrokes in Edit control [modified] Pin
happy_ram7-Jun-06 2:18
happy_ram7-Jun-06 2:18 
GeneralRe: Keystrokes in Edit control [modified] Pin
happy_ram7-Jun-06 2:25
happy_ram7-Jun-06 2:25 
GeneralRe: Keystrokes in Edit control [modified] Pin
FarPointer7-Jun-06 3:10
FarPointer7-Jun-06 3:10 
GeneralRe: Keystrokes in Edit control [modified] Pin
Naveen7-Jun-06 17:30
Naveen7-Jun-06 17:30 
QuestionHow the VC++ linker is resolving the function signatures ? Pin
ComplexLifeForm6-Jun-06 22:40
ComplexLifeForm6-Jun-06 22:40 
Hi,

I am a bit confused on how VC++ linker is resolving the function signatures. I have a windows Dll and a corresponding header file and I wanted to build a lib file out of it. So I dumped the exported methods from the DLL using Dumpbin utility. I then wrote a .def file for the exported methods and generated a .lib file from the DLL file.

Everthing was fine however I got confused regarding one thing. It is that the dumpbin produced the exported methods list with no underscore in the method name. E.g. Foo

When I ran the dumpbin utility on the generated lib file, I got underscore in method signature E.g. _Foo, so I assume that the methods must have been exported using __cdecl calling convention. When I look the method signature in the header file the prototype contains the __stdcall in the method prototype like

void LIBAPI Foo(); and LIBAPI is defined as

#if defined _WIN32
#define LIBAPI WINAPI
#endif

I was able to successfully create the .exe file using the generated lib file. Now my query is how is the linker resolving the differences in the method signatures?

Or is it the case that I am missing something basic here?

Can someone please clarify what is happening here.

Thanks and Regards.
QuestionA question about window service.... Pin
sunyw_20066-Jun-06 22:08
sunyw_20066-Jun-06 22:08 
AnswerRe: A question about window service.... Pin
Laxman Auti6-Jun-06 22:38
Laxman Auti6-Jun-06 22:38 
AnswerRe: A question about window service.... Pin
kakan6-Jun-06 22:53
professionalkakan6-Jun-06 22:53 

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.