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
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.

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

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:

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