Hi there.
I realise there are a lot of posts about string tables and various tutorials around the Internet which I have researched and looked (well as many as I can) but I am still having an issue when trying to create the string table for my DLL to be used in dbp.
My DLL is written in C/C++ and has been created using Visual Studio 2005 SP1 (Full Version) and I have added the string table resource within the IDE, which is no problem. I am however having trouble with how this string table is meant to be setup.
Here is an example of one of my functions
int FunctionSix(char* location, float r, float g, float b)
and here is my string table entry for that function as it is now.
dbpFunctionSix[%S%%F%%F%%F%FunctionSix
To begin with I am unsure if that is how one should handle multiple variables to be passed into the function and secondly my understanding is that [ denotes that something is to be returned but do I need to specify that type somehow?
You will also notice that the string table entry for that function does not look like this;
dbpFunctionSix[%S%%F%%F%%F%?FunctionSix@@YAXXZ
Namely the "@@YAXXZ" part and the quetion mark before the function name. From the tutorials I have read it would seem that this should be how the function looks when you open a DLL in say notepad and search for the function in the text. This is not the case with my DLL as the single entry for FunctionSix, and all my other functions, is simply "FunctionSix" with spaces either side before the next and previous function names that are similar.
Could the lack of the "@@YAXXZ" part be due to a compiler or linker setting that I have activated?
Like I have said I have checked out a considerable number of forum entries and tutorials but none have detailed this issue at all.
Any help on this matter would be very helpful.
Thanks
Mark