Hello
I have been working with C++ and C for a while. I have just started to make dll's for dbpro and I find when it comes to string tables it's a pain in the ass.
I am just making a basic dll for a message box ( Just to get me used to the string tables etc ). I had this working earlier but it does not work now.
Here is my function:
DLLIMPORT void printtext(char* thestring)
{
MessageBox(NULL, thestring, "", MB_OK);
}
And here is my string table:
STRINGTABLE
{
1 "PRINTTEXT%S%printtext"
}
I understand about %S% for strings and L for Integers etc.
It would be great if you could help
(If this is the wrong board then please mods move it for me
)
-Thanks Eddie