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 / D3Dvector in a dll function

Author
Message
jaden decar
17
Years of Service
User Offline
Joined: 26th Jan 2007
Location:
Posted: 23rd Jun 2007 04:10
Well, I have a function that takes a D3Dvector as input, now I was wondering how I could convert that to be able to keep it a D3Dvector, but allow you to call it in DBPro.

NOTE: I am useing DB User's Dev-CPP wrapper.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 23rd Jun 2007 14:25
You can't. You have the basic types in DBPro that you can pass to plug-in code, and D3DVector isn't one of them.

You could try using an array item - that would work, or you can maintain your D3DVector within your plug-in and pass the address of that into and out of DBPro.

Login to post a reply

Server time is: 2024-11-22 21:10:53
Your offset time is: 2024-11-22 21:10:53