Is it possible in masm to export a symbol (procedure) with a different naming convention than it actually is?
For example:


blah proc param:DWORD
mov eax, param
ret
blah endp


By default this will be a stdcall proc, and it's exported name will be _blah@4.. Can I change this _blah@4 name to, for example: ??blah@12345 without changing the actual code for the proc? I.e. it is still a stdcall proc, but exported under a different name.

Thomas
Posted on 2002-04-13 05:11:13 by Thomas
in your DEF file use:
LIBRARY blah

EXPORTS ??blahl=blah
Posted on 2002-04-13 06:15:56 by savage
Big thanks! I didn't dare to hope it was that simple :grin:

Thomas
Posted on 2002-04-13 06:26:57 by Thomas