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 / String Table Maker, please test it!

Author
Message
Xception
19
Years of Service
User Offline
Joined: 14th Mar 2005
Location:
Posted: 17th Mar 2005 20:29
http://home.tiscalinet.de/xception/StringTableMaker.zip

It parses a dll sourcecode file and makes the stringtable required for TPCs.
It supports at the moment only C/C++ sourcecode.
Delphi and ASM support will follow.
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 21st Mar 2005 11:45 Edited at: 21st Mar 2005 12:04
hmm didnt work with pelles c source code
this is the resource file i got


and it said "please define export"
my c code


btw
sorry for the code being so bulky


edit:
woops forgot to define export
now it sort of works but im too much of a n00b at c to know how to use
#define export extern "C" __declspec(dllexport)
edit2:
k now i got it figured out
but this i dotn think is what i want:
10001, "static%0%static%"
what i am aiming for is fontdlg

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: 21st Mar 2005 18:24
You put this line before your functions
#define export extern "C" __declspec(dllexport)

Every function you want to export has to use "export":

Then it should work, however you can only use datatypes listed in the TPC tutorial of the DBPRO help.
Your char* should be LPSTR
Xception
19
Years of Service
User Offline
Joined: 14th Mar 2005
Location:
Posted: 22nd Mar 2005 03:45
I updated the file.
The exported table was saved as rtf document instead of plain text and the identifiers seem to have to start with "1", I started with 10001.
Both issues are fixed now, same download link as above.
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 22nd Mar 2005 07:31 Edited at: 22nd Mar 2005 07:35
ummm do i need to replace the function with export or do i need to add code
edit:
when i add the code it gives errors and when i replace my function code with it it gives errors so what can i do
errors when replacing function:



also i am using C not C++

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

Login to post a reply

Server time is: 2024-11-21 15:10:05
Your offset time is: 2024-11-21 15:10:05