|
-
Jul 7th, 2001, 05:02 PM
#1
Thread Starter
Lively Member
DLL Exports
I am making a Win32 DLL. I want my DLL to export the same symbols as another DLL made by someone else. In their DLL their exports look like so:
___TSAFDIsSet@8
_t_accept@12
_t_bind@12
_t_closesocket@4
_t_connect@12
_t_gethostbyaddr@12
_t_gethostbyname@4
Now when i add a .def file to my project, i add the exports just as how they have them, but the compiler says that the ordinal can not sit next to the export name so i have to do this:
___TSAFDIsSet @8
_t_accept @12
_t_bind @12
_t_closesocket @4
_t_connect @12
_t_gethostbyaddr @12
_t_gethostbyname @4
But, then when i compile it, it throws a fit that i used the same ordinal number twice. Plus if i use the spaces between the export name and ordinal number, the "@num" doesnt show up in its export table. The calls have to match perfectly though!
So my question is, how the heck did the person who made this DLL get the exports in this format, and how did this person use the same ordinal number in multiple exports?
i am using Microsoft Visual C++ 6.0
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|