Hello.
I am having some really weird issues when designing my dll library, =
related to the stdcall and cdecl calling conventions. I am trying to =
make it use only the stdcall convention and not cdecl. I have tried both =
adding __stdcall to my function declarations, and to set the =
--add-stdcall-alias in the command line. Sometimes I get an export table =
with multiple exports, function names with and without the @# appended =
to them. I would like it to make a dll that
does not have the @ signs appended but which only uses stdcall so that =
any language with dll support can call it. When I get the export table =
with multiple
versions of each function, the numbers are not 1, 2, 3 etc after the =
@sign. Instead, it appends 0 to all the functions that don't take any =
arguments and appends 4 to the functions that do. This really confuses =
me and I have no idea what I might be doing wrong. Any tips? I don't =
want to have to have an export table with each function exported twice =
for it to work.
Thanks in advance.
Regards
Philip Bennefall |