Hi cybernetic wraith,
You can still develop plugins with the trial version. I have attached the text of the Third Party Command SDK document from the help files (click the Source button).
To create the DLL, write the code for your class, then you need to create functions which act as a "procedural interface" for your class (as DBPro doesn't support objects).
eg:
typedef EXPORT extern "C" _declspec (dllexport)
class WSock
{
WSock(char* host);
};
WSock::WSock(char* host)
{
// Code To Connect Goes Here
}
EXPORT WSock* createConnection(char* host)
{
WSock* connection=new WSock(host);
return connection;
}
You create a stringtable resource for the DLL, and add information about the command to it (see attached document). Place the compiled DLL in the CompilerPlugins-User folder (where you installed DarkBASIC Pro).
The stringtable entry format could be:
winsockConnect[%LS%createConnection%str host
To use the command in DBPro:
local connection
connection=winsockConnect("http://www.mysite.com")
In this example, DBPro would treat the return value as a normal integer variable which could then be passed to other functions in the DLL. If you want something without the potential for crashing, you could use index numbers ala. DB objects.
BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.