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.

Newcomers DBPro Corner / DLL Confusion. SOS.

Author
Message
Wreckka
15
Years of Service
User Offline
Joined: 31st Jul 2009
Location: My grandmothers basement.
Posted: 1st Sep 2009 03:58
Okay. Dark Basic Collision is not doing it for me. I got Sparky's DLL and put it in the user file. Now what? I do not understand how DLL's work, and I'd appreciate a quick simple explanation if anyone is feeling kind.

Making my way through life one line of code at a time...
ShaunRW
DBPro Developer
16
Years of Service
User Offline
Joined: 7th Jan 2008
Location: Brisbane, Australia
Posted: 1st Sep 2009 14:03
Well put the .DLL file in the 'plugin user' folder and put the .INI file in the 'Keywords' folder. next time you start darkbasic try one of the commands and it should turn blue.

hope i helped


Wreckka
15
Years of Service
User Offline
Joined: 31st Jul 2009
Location: My grandmothers basement.
Posted: 1st Sep 2009 16:04
INI and DLL are both in place, but it won't recognize the commands, nor turn the code blue. Any ideas on what I could be doing wrong?

Making my way through life one line of code at a time...
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 1st Sep 2009 17:03 Edited at: 1st Sep 2009 17:08
Try just compiling this:



If that doesn't work, your files probably aren't in the right place. "SC_Collision.dll" needs to go in "Compiler/plugins-user" and "SC_Collision.ini" needs to go in "Editor/Keywords".

If it does work, you probably weren't typing the commands right. Sparky's commands have no spaces and have the SC_ prefix on them.



Wreckka
15
Years of Service
User Offline
Joined: 31st Jul 2009
Location: My grandmothers basement.
Posted: 2nd Sep 2009 01:33
Yay It works, thank you. Is there a list of the commands somewhere? I looked for a file with them but can't seem to find anything...

Making my way through life one line of code at a time...
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 2nd Sep 2009 01:35
There should be help files included in the download. If you can't find them, open the .ini file in notepad, it has a list .



Wreckka
15
Years of Service
User Offline
Joined: 31st Jul 2009
Location: My grandmothers basement.
Posted: 2nd Sep 2009 02:31
Thank you so much, you're amazing

Making my way through life one line of code at a time...
Potassium
15
Years of Service
User Offline
Joined: 12th Jul 2009
Location:
Posted: 5th Sep 2009 03:33
DLL's are Dynamic Link Libraries. If you ever modded Quake 2 you would be using the game source, compile the DLL and put it in a certain directory. DLL's are used and so are libraries, but with a library, you need a header file.

There are 2 ways to develop for the N64:
1. Develop C code with PsyQ SDK and illegal Nintendo libs
2. Develop C code with legal kits, such as the Ground Zero devkit (g0dev.zip)

Login to post a reply

Server time is: 2024-09-28 10:32:44
Your offset time is: 2024-09-28 10:32:44