Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / what does it mean "the decorated function will be in the dll"-stringtable help

Author
Message
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 22nd Mar 2005 10:27
i dont get what it means by
Quote: "To find the decorated form of
your function, simply load your DLL into NOTEPAD, and search for your function name"

i got it in notepad and i searched for my function but all i found was an "undecorated" function name
here is my dll
and my function is fontdlg

X-Patch x-patch.exe(gui):75% make.exe:5% x-patch.dll(runtime dll):0% developed on win xp home sp2

Attachments

Login to view attachments
Xception
19
Years of Service
User Offline
Joined: 14th Mar 2005
Location:
Posted: 22nd Mar 2005 17:45
Your C function names are always undecorated.
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 26th Mar 2005 11:10
so is it impossible to make a tpc in C :-(

X-Patch x-patch.exe(gui):75% make.exe:5% x-patch.dll(runtime dll):0% developed on win xp home sp2
Xception
19
Years of Service
User Offline
Joined: 14th Mar 2005
Location:
Posted: 26th Mar 2005 19:17
It's very possible, you just write the undecorated name in your string table and not the decorated name.
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 26th Mar 2005 20:32
ohhhhh ok so it is actualy easier tyo do in c than c++

X-Patch x-patch.exe(gui):75% make.exe:5% x-patch.dll(runtime dll):0% developed on win xp home sp2
Xception
19
Years of Service
User Offline
Joined: 14th Mar 2005
Location:
Posted: 27th Mar 2005 04:13 Edited at: 27th Mar 2005 04:14
Well, you can export the functions in C++ with
extern "C"
so that they use undecorated names like in C.
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 27th Mar 2005 04:57
ok so how in C would i do a simple thing like umm just accept a value
cause im lost

X-Patch x-patch.exe(gui):75% make.exe:5% x-patch.dll(runtime dll):0% developed on win xp home sp2
Daveh
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location:
Posted: 1st Apr 2005 02:35
For C program a simple function would be:



and your string table entry would simply be:



If you wrote your function in C++ the middle 'SomeFunction' in the string table would have to be changed to the decorated name. See the DB Third Part help file for more details (it's actually pretty helpful).

Login to post a reply

Server time is: 2024-11-23 20:15:57
Your offset time is: 2024-11-23 20:15:57