custom entrance must be cdecl?

Started by RedGhost, October 23, 2005, 09:23:03 AM

Previous topic - Next topic

RedGhost

for a win32 exe or dll if i define my own entrance

eg:

#pragma comment( linker, "/ENTRY:dll_entrance" )


i get an error that the entrance procedure is unresolved unless it is of the cdecl convention, why is this, am i use /ENTRY wrong?

cheers

Pelle

Not really - but some symbols need the fully decorated form (_name@byte-count for a _stdcall symbol, for example). In a perfect world you probably shouldn't have to worry, but...

Pelle
/Pelle

RedGhost