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 / Dll won't call RecieveCoreDataPtr. Crashes during dbpro runtime.

Author
Message
coolgames
19
Years of Service
User Offline
Joined: 26th Sep 2005
Location: Oregon, USA
Posted: 29th Jan 2008 16:50
I'm trying to make a dll that accesses the dbpro core. Everything compiles fine, but when I try to call a command, the exe silently crashes. I put a check in the function to see of the g_pGlob pointer has been set; it has not.
Here is my code:


Is there a reason the RecieveCoreDataPtr function isn't being called?
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 29th Jan 2008 19:39 Edited at: 29th Jan 2008 19:39


does work. Receive maybe?

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
coolgames
19
Years of Service
User Offline
Joined: 26th Sep 2005
Location: Oregon, USA
Posted: 29th Jan 2008 22:09 Edited at: 30th Jan 2008 15:03
Lol! That's probably it. I'll get a chance to try it out later, but you are probably right! *Smacks Face* Thanks!

Edit: It worked!

Login to post a reply

Server time is: 2024-11-26 10:36:36
Your offset time is: 2024-11-26 10:36:36