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 / Dlls outside DBPro

Author
Message
Cypher Zero
18
Years of Service
User Offline
Joined: 11th May 2006
Location:
Posted: 18th May 2006 05:20
Has anyone tried using the default DBPro plugin dlls outside DBPro
(like accessing them from VC or VB etc?)
Is it possible to make a game using an external language and these dlls?
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 18th May 2006 19:38 Edited at: 18th May 2006 20:02
Distributing the dbpro dlls outside a dbpro exe will be copyright infringement.
You don't have to be too inventive to get around that though. You could distribute a dbpro exe that does nothing and source the dlls from there.
Or use the method used by IanM's no longer available interface libary. Have a dbpro exe that just calls a tpc dll. The dbpro exe then gets everything running before calling your dll. You can call all the dbpro functions from your dll.

I wrote a clunky program that used the second approach so you could use dbpro functions in .net dlls. http://winch.pinkbile.com/net_int.php
Basically a poor imitiation of IanM's interface libary but allowing you to write in c# or vb.net instead of c/c++.

There is also some intreasting info on this site.
http://dbp-unchained.tk/

By way of demonstration, he emitted a batlike squeak that was indeed bothersome.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 18th May 2006 21:16
It is technically possible to use the DBPro DLLs without DBPro - all you need to do is duplicate the startup sequence that the current DBPro wrapper follows, and you are there ... not much point though with the DSDK being available, or using methods that the_winch has already described.

For free Plug-ins and source code http://www.matrix1.demon.co.uk

Login to post a reply

Server time is: 2024-11-25 06:19:09
Your offset time is: 2024-11-25 06:19:09