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.

Geek Culture / Logs of chat: 8th june 04

Author
Message
Mike Johnson
TGC Developer
22
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 9th Jun 2004 21:58
If someone can write a DLL in VB and send it to me I'll try loading it in and try and find out how things work with them. Could do with one simple function in there that does something like showing a message box when it's called.

Mike
Shadow Robert
21
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 9th Jun 2004 23:02
@Zircher: ahh oki, that would explain a few things. i've never really used pascal in-depth; my mom did about 30years ago (which yeah was before it was born ) but Turbo C definately ain't older than me.

that said, someone using VC++ it doesn't look that difficult to actually program a parser function so you could access them directly like the dll functions do.

time consuming but not particularly difficult.

CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 9th Jun 2004 23:33 Edited at: 9th Jun 2004 23:40
Mike download our plugin by clicking my logo below,
the the vb .net dll is named DBP_NETLIB.DLL

normally that dll goes in the game exe dir, and the dll named DBP_NETLIB_CPP.DLL goes in plugins-user directory

I will more than gladly work on this with you and provide anything I can (vb.net source, testing, etc etc) to get this working - I am sure others like Exeat and Empty will help in the endeavor as well

THANKS!


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 10th Jun 2004 17:48 Edited at: 10th Jun 2004 17:48
Mike

I forwarded your email to Exeat, so he can provide you with the info you need regarding how we implement vb.net dll's in DBP via a C++ wrapper. In the interim there is some prevalent info in the thread link below - skim down the first page until the forum user The One Ring asks Exeat about .net dll implementation. Exeat provided an explanation with C++ code examples.

http://darkbasicpro.thegamecreators.com/?m=forum_view&t=31598&b=5

Thanks
CR


* DBP_NETLIB_v1.2 - NOW WITH VARIABLE WATCHER! * Click Logo
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 11th Jun 2004 09:36
A whole different method will have to be used for implementing VB.NET DLL's then the one I described in that link (for reasons I emailed you about CattleRustler) so I'm not sure if it will be all that useful.

I'll email Mike in a moment on how to get VB6 DLL's working and then if that goes well, we'll try and tackle VB.NET (which is a whole different method).


"Computers are useless they can only give you answers."
MikeyP
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: Manchester, UK
Posted: 13th Jun 2004 12:20
You kept my Woohooo at the end lol
Mnemonix
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: Skaro
Posted: 15th Jun 2004 21:12
lol

Visit the Db chat room, ask me for details!.

Login to post a reply

Server time is: 2024-09-22 05:46:12
Your offset time is: 2024-09-22 05:46:12