Ok, I've figured it out. For anyone looking at this thread in the future, here is some info.
You can't access the user-dll commands as if you were calling them from in DBPro, but you can load the library as you said, and then call the dll's 'ReceiveCoreDataPtr' function to pass to it the GlobCore data. You can then use the dll, but the functions you call from your dll will be completely separate from the functions if you call them from within DBPro. E.g. With the D3DFunc dll you would do this to draw some text:
D3D_Font 1,"Arial",9,0,0,1
D3D_StartText
D3D_Text 1,x,y,0,"Hello World"
D3D_EndText
However, if you created a function 'MyDLL_StartText' with your DLL that called D3D_StartText, you couldn't do this:
D3D_Font 1,"Arial",9,0,0,1
MyDLL_StartText
D3D_Text 1,x,y,0,"Hello World"
D3D_EndText
As MyDLL_StartText is in a completely different instance from D3D_StartText. You would have to do this to get it to work:
D3D_Font 1,"Arial",9,0,0,1
D3D_StartText
D3D_Text 1,x,y,0,"Hello World"
D3D_EndText
MyDLL_Font 1,"Tahoma",9,0,0,1
MyDLL_StartText
MyDLL_Text 1,x,y,0,"Hello World"
MyDLL_EndText
Note that both fonts can successfully use FontID 1, as they exist in two completely different instances of the dll.
Join the BlackOut Forum Today