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 / Is there a way to get the handle/pointer of an object

Author
Message
Xception
19
Years of Service
User Offline
Joined: 14th Mar 2005
Location:
Posted: 24th Jul 2006 14:12
For example if you make a box with the DBP command, you assign a number to it.
Is it possible to get the pointer to the box object?
TIA
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 24th Jul 2006 15:06
Yes. There's a function called 'GetObjectA...' exported in the Basic3D DLL that you can use to get at the DBPro object structure for an object.

For free Plug-ins and source code http://www.matrix1.demon.co.uk
Xception
19
Years of Service
User Offline
Joined: 14th Mar 2005
Location:
Posted: 24th Jul 2006 16:41
Thank you Ian.
Is the pointer to the sObject structure the one defined in 'dbodata.h' ?
I hope it is, otherwise I have no clue how to use GetObjectA

Login to post a reply

Server time is: 2024-11-22 12:17:19
Your offset time is: 2024-11-22 12:17:19