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 / DBPro Plugin Released!

Author
Message
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 30th Apr 2004 21:36 Edited at: 30th Apr 2004 22:01
DBP_NETLIB_v1_beta has been released!

Exeat and I have released the first version of our Plugin for DBP.
For more info and to download the plugin please click the mod2software logo below. The doc file includes all of the setup and usage info for the library.

all feedback is welcomed.

Thanks!
CattleRustler & Exeat


** DBP_NETLIB_v1_beta PLUGIN RELEASED! ** Mooooooo!
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st May 2004 01:04 Edited at: 1st May 2004 18:46
Did I mention it was free?

here's a list of the functions



** DBP_NETLIB_v1_beta PLUGIN RELEASED! ** Mooooooo!
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 1st May 2004 03:03
Quote: "Did I mention it was free?"

Yes, I believe you did...


The place for all great plug-ins.
The Coding Area - From my brain to your browser...
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 1st May 2004 03:16
Ahh cool, so you got the INI file commands working?


"Computers are useless they can only give you answers."
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st May 2004 03:17
ah, you're awake!
lol
well they work fine with hard coding the entire path - looking into fix. I listed this as a bug on my web page


** DBP_NETLIB_v1_beta PLUGIN RELEASED! ** Mooooooo!
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 1st May 2004 03:18
Oh yeah, you've already told me that, how silly of myself.


"Computers are useless they can only give you answers."
HZence
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location:
Posted: 1st May 2004 04:20
How can you have a beta without an alpha?


Team EOD :: Programmer/Storyboard Assistant
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st May 2004 04:21
you have to take our word for it



** DBP_NETLIB_v1_beta PLUGIN RELEASED! ** Mooooooo!
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st May 2004 16:21
update:

new dll is NOT posted yet but...

Split() function is Fixed
Ini functions path problem is Fixed

working on NEW feature...
will post new dll later on today




** DBP_NETLIB_v1_beta PLUGIN RELEASED! ** Mooooooo!
Damokles
21
Years of Service
User Offline
Joined: 28th May 2003
Location: Belgium
Posted: 1st May 2004 16:37
So does this work with DBC enhanced ?

- Mind the gap -
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 1st May 2004 16:58
I can't try personally (only have the normal version of DBC) but I've setup the C-Style linking so it should. I'm hoping someone with DBC will give it a try for us.


"Computers are useless they can only give you answers."
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st May 2004 17:01



** DBP_NETLIB_v1_beta PLUGIN RELEASED! ** Mooooooo!
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st May 2004 18:49 Edited at: 1st May 2004 18:51
UPDATE:

NEW Version posted: DBP_NETLIB_v1
Known bugs: NONE, all functions working as expected.




** DBP_NETLIB_v1 PLUGIN - FULL VERSION RELEASED! ** Mooooooo!
Damokles
21
Years of Service
User Offline
Joined: 28th May 2003
Location: Belgium
Posted: 1st May 2004 22:04 Edited at: 1st May 2004 22:16
I would love to test it, but I never used DLLs. I tried something but doesn't seem to work :


Problem with line 4

- Mind the gap -
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 1st May 2004 22:12
Not surprising really...


The place for all great plug-ins.
The Coding Area - From my brain to your browser...
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st May 2004 22:18 Edited at: 1st May 2004 22:19
no you don't use it like that!

put _CPP in your plugins-user directory
put dbp_netlib.dll in your exe directory

call commands directly like

strNow as string
strnow=dt_GetNow()


that's it.

call all the commands from code directly - no load dll call dll business.


** DBP_NETLIB_v1 PLUGIN - FULL VERSION RELEASED! ** Mooooooo!
Damokles
21
Years of Service
User Offline
Joined: 28th May 2003
Location: Belgium
Posted: 1st May 2004 22:24
Ok, I had the doc file ... but I didn't find any plugins-user directory, so I got them both with the exe file.
So where shall I place them ?

- Mind the gap -
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 1st May 2004 22:43
In the Compiler directory, there should be a plugins-user directory. Put the DLL there.


The place for all great plug-ins.
The Coding Area - From my brain to your browser...
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 1st May 2004 22:53
I think Damokles is talking about DBClassic.

try this:


Don't know if this works as I don't have the .net framework installed.
One thing though: DBPro TPCs use a different calling convention (cdecl) than the CALL DLL commands (stdcall). So you might experience occasional crashes.

Play Nice! Play Basic!
Damokles
21
Years of Service
User Offline
Joined: 28th May 2003
Location: Belgium
Posted: 1st May 2004 23:08
Yeah, I am talking about classic (enhanced).
Thanks, empty, but didn't work

The Coding Area, there is no plugins-user directory in the Compiler directory.

- Mind the gap -
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 1st May 2004 23:12
There is with DBPro


The place for all great plug-ins.
The Coding Area - From my brain to your browser...
Damokles
21
Years of Service
User Offline
Joined: 28th May 2003
Location: Belgium
Posted: 1st May 2004 23:17
I don't doubt about it, but where shall I place the DLLs with DBC - enhanced ?

- Mind the gap -
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 1st May 2004 23:19
You need to put it in the same folder where your source code is.
And then try my example again.

Play Nice! Play Basic!
Damokles
21
Years of Service
User Offline
Joined: 28th May 2003
Location: Belgium
Posted: 1st May 2004 23:20
In fact, that's what I did

- Mind the gap -
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 1st May 2004 23:21
Do you get an error message or something?

Play Nice! Play Basic!
Damokles
21
Years of Service
User Offline
Joined: 28th May 2003
Location: Belgium
Posted: 1st May 2004 23:25
Sorry, but my Darkbasic is in German, I got this error-message :
"Laufzeitfehler in Zeile 3. Der DLL Aufruf ist gescheitert"
Which means : "Runtime Error in line 3. The dll calling failed"
I hope my translation was not too bad.

- Mind the gap -
empty
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 1st May 2004 23:28
Ah my bad, should have talen a look at the string table. Try this instead:


Play Nice! Play Basic!
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 1st May 2004 23:29
MsgBox is called using :

x=Call Dll (1,"MsgBox",...)


The place for all great plug-ins.
The Coding Area - From my brain to your browser...
Damokles
21
Years of Service
User Offline
Joined: 28th May 2003
Location: Belgium
Posted: 1st May 2004 23:47
Now I get the error "Severe Exeption"

- Mind the gap -
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 2nd May 2004 00:03 Edited at: 2nd May 2004 00:05
Do you have .Net installed ? And, as Empty stated previously, it may not work for Classic anyway...


The place for all great plug-ins.
The Coding Area - From my brain to your browser...
Damokles
21
Years of Service
User Offline
Joined: 28th May 2003
Location: Belgium
Posted: 2nd May 2004 00:08
I installed .Net some time ago, didn't even know what it was for ... just a programm needed it.
And now seeing what this DLL could do, I was kinda interrested ... and if you can make it available for DBC-enhanced, it would be really nice

- Mind the gap -
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 2nd May 2004 01:21 Edited at: 2nd May 2004 01:22
I will have to talk to Exeat more about this issue with dbce as I am writing the vb.net code and he is writing the wrapper C++ dll.

we will look into why it is not working with dbce

aside from that it should all be good with dbp.

we may have a new added feature (sick) by tonight...




** DBP_NETLIB_v1 PLUGIN - FULL VERSION RELEASED! ** Mooooooo!
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 2nd May 2004 06:14
Quote: "One thing though: DBPro TPCs use a different calling convention (cdecl) than the CALL DLL commands (stdcall)"


That would explain it then, actually, it would explain a lot of things lol.


"Computers are useless they can only give you answers."
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 2nd May 2004 06:20
Is the Call DLL command the same in DBP as DBC? In which case, this worked fine for me:




"Computers are useless they can only give you answers."
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 2nd May 2004 19:14
the documentation has been updated to reflect the new functionality of str_Split() and str_GetSplit(). If anyone is using the lib you might wanna take a look at the new doc (in the zip)

thanks
CR


** DBP_NETLIB_v1 PLUGIN - FULL VERSION RELEASED! ** Mooooooo!

Login to post a reply

Server time is: 2024-09-21 20:37:27
Your offset time is: 2024-09-21 20:37:27