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 / Calling TPC/DBPro Library Functions from TPC query...

Years of Service
User Offline
Joined: 18th Aug 2010
Location: United Kingdom
Posted: 18th Aug 2010 14:39 Edited at: 18th Aug 2010 20:59
This Problem has been Solved

Hey Folks,

A quick query for those seasoned with TPC development;

I've got a TPC written, and built that will utilise a function in the DBPro Basic3D Library 'DBProBasic3DDebug.dll'.

I used the standard way of loading the library, defining the function, and linking the definition to the DLL function address.

In the case of using the Core library to perform a Print request, this works absolutely fine, and I duplicated the method to call the Basic 3D's ObjectExist function '?GetExist@@YAHH@Z', but rather than work, the TPC will crash, even though everything was checked over 3 times to ensure everything is working as expected.

Does anyone please have a bit of source code to demonstrate an effective way of calling an internal function from within a TPC when using either Basic3D, or anything that isn't the DBPro Core library?

I would provide my code, but it's part of a framework i've written to fast-write tpc's, so it would be messy, and hard to understand.

Thank you kindly!


::Hybrid Two::Binary Zoo::RGT Veteran::

Login to post a reply

Server time is: 2020-05-31 08:58:10
Your offset time is: 2020-05-31 08:58:10