I made a DLL that has a few functions.
I'd like to give function that has only ordinal number
(No function name!)

How can I do that...? :confused:

Thank you for reading! :)
Posted on 2002-01-15 20:55:40 by nyam
Well, we've already talked about that here :)

Good luck.
Posted on 2002-01-15 21:11:49 by CodeLover
Do you mean you want to export it by ordinal only?
Posted on 2002-01-15 22:16:02 by sluggy
Thank you for your replies. :)

sluggy, That's what I want to know!

CodeLover, I can't do with that. (Sorry, I'm foolish!)

How do I change my .DEF file?
Posted on 2002-01-15 22:49:53 by nyam
change your def file like this:
Library MyLib
Myfunc1 @1 NONAME
Myfunc2 @2 NONAME

where @1 is the ordinal number you want the function to have. NONAME (i dont know if necessary though) turns off compiler's name mangling (at least in C. dunno if needed here)
regards, Phueghy
Posted on 2002-01-16 04:10:07 by phueghy
Yes! It works well!

Thank you phueghy!!! :)

Have a nice day!!! :)
Posted on 2002-01-16 04:20:48 by nyam