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 / Can you make DLL in darkbasic

Author
Message
Random 69
19
Years of Service
User Offline
Joined: 24th Aug 2004
Location: Marshmellowland
Posted: 8th Jan 2005 04:29
Can you?

Happy joy happy happy
TKF15H
20
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 8th Jan 2005 05:31
no


Random 69
19
Years of Service
User Offline
Joined: 24th Aug 2004
Location: Marshmellowland
Posted: 8th Jan 2005 05:40
damn..... but thank you very much

Happy joy happy happy
blanky
19
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 8th Jan 2005 18:23
The point of using DLLs in DarkBasic, is to give the language extra functionality - so being able to make DLLs in DarkBasic would be a bit pointless.

2005 - Year of cartoony red cubes (look! black outline!), for me at least.
TKF15H
20
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 8th Jan 2005 21:11
No, not really. You could try to use DBP functions in other programs. If you could make DLLs with DBP, you could write your own Dark SDK.

AphoticVM status: 80% AphoticBasic status: 10%
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 8th Jan 2005 23:21
Quote: "If you could make DLLs with DBP, you could write your own Dark SDK."
That is the main reason it will never be attempted. If DBP gets too powerful you could even make DBP and they wouldn't want that either.

1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 8th Jan 2005 23:22
But since you can't in DBP, and Dark SDK doesn't allow it just so you don't write another DBP. TGC is trying to prevent you from writing your own Dark SDK or Dark Basic Professional, because if you did they'd be out of the job.


Click sig for DarkBASIC Network IDE.
DarkPhear
20
Years of Service
User Offline
Joined: 15th Oct 2003
Location: Brazil
Posted: 9th Jan 2005 02:10
You can distribute your program made in DBP.
Your program made in DBP contains DBP DLLs.
So you can distribute DBP DLLs.

Just use a language that supports DLL calls, with a little effort you can use DBP commands, or maybe create your own game creation tool.
I'm not sure TGC would like that.

Download free games and demos at my page: http://darkphear.cjb.net
MultiJoy Plugin : use multiple joysticks / joypads in your program.http://darkphear.cjb.net
TKF15H
20
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 9th Jan 2005 03:31
I don't think they would like it, but I can't find anything saying you can't do it. It would be good if someone clarified the subject. *hint hint*

AphoticVM status: 80% AphoticBasic status: 10%
Rob K
Retired Moderator
21
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 9th Jan 2005 05:56
The reason why DarkBASIC doesn't make DLLs is probably because Lee hasn't seen the need yet, or hasn't had the time, than because of license issues.


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
TKF15H
20
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 9th Jan 2005 06:30
Quote: " Lee hasn't seen the need yet,"

which is reasonable, as DBP was meant for games, not DLLs.

AphoticVM status: 80% AphoticBasic status: 10%
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 9th Jan 2005 07:48
But dll's would be a useful way to separate parts of a program. And inevitable reduce the size of the executable file.


Click sig for DarkBASIC Network IDE.
TKF15H
20
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 9th Jan 2005 07:54
not really. Each DLL has it's headers, so splitting up your program would actually take up more space than putting it all in one EXE. If you could make static libraries on the other hand, you would be able to reduce compile times if your programs are too big.
There's nothing about the CODE that makes executables big. What takes up most of the space is the plugins, and maybe the VM.

AphoticVM status: 80% AphoticBasic status: 10%
DarkPhear
20
Years of Service
User Offline
Joined: 15th Oct 2003
Location: Brazil
Posted: 9th Jan 2005 23:06
I think DBP would be much better if the plugins were extracted to memory and not to the TEMP dir...

Download free games and demos at my page: http://darkphear.cjb.net
MultiJoy Plugin : use multiple joysticks / joypads in your program.http://darkphear.cjb.net
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 10th Jan 2005 01:43
Why? What would be the difference?


Home of the Cartography Shop - DarkBASIC Professional map importer
Random 69
19
Years of Service
User Offline
Joined: 24th Aug 2004
Location: Marshmellowland
Posted: 10th Jan 2005 02:40
i was going to use it to add extra commands to darkbasic so a user could just type

call dll disable system keys and it would change registry entries and do complicated stuff

I made a extra security function for windows Ask me for it.

I can disable ctrl alt delete windows key and alt dab Ask me for dll and code 5 lines of code and dll
DarkPhear
20
Years of Service
User Offline
Joined: 15th Oct 2003
Location: Brazil
Posted: 10th Jan 2005 02:44
Speed, security, anti-piracy (for 3rd party plugins), no trash left in the TEMP folder, programs could run on a read-only system...

Download free games and demos at my page: http://darkphear.cjb.net
MultiJoy Plugin : use multiple joysticks / joypads in your program.http://darkphear.cjb.net
Random 69
19
Years of Service
User Offline
Joined: 24th Aug 2004
Location: Marshmellowland
Posted: 10th Jan 2005 02:53
ive started a debate

I made a extra security function for windows Ask me for it.

I can disable ctrl alt delete windows key and alt dab Ask me for dll and code 5 lines of code and dll
IanG
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 10th Jan 2005 04:05
Quote: " I think DBP would be much better if the plugins were extracted to memory and not to the TEMP dir..."


snag is i don't think it is easy to create a pe header in a memory space (pe header -> header of dll)

Used to be Phoenix_insane registered in september 2003 despite what the date says to the left <--
PC - amd athlon 2.0ghz, 512mb, GeForce FX 5200 128mb, 200gb, xp pro sp2
DarkPhear
20
Years of Service
User Offline
Joined: 15th Oct 2003
Location: Brazil
Posted: 10th Jan 2005 08:16
It's not easy, but possible. Sorry about getting out of the topic. I've started a thread on this subject already:
http://forum.thegamecreators.com/?m=forum_view&t=39934&b=18

Download free games and demos at my page: http://darkphear.cjb.net
MultiJoy Plugin : use multiple joysticks / joypads in your program.http://darkphear.cjb.net
re faze
19
Years of Service
User Offline
Joined: 24th Sep 2004
Location: The shores of hell.
Posted: 29th Jan 2005 07:28
what would happen if we tried to make an fps creator?
1tg46
20
Years of Service
User Offline
Joined: 1st Feb 2004
Location: I dont know!
Posted: 29th Jan 2005 08:44
If you went against the EULA then TGC can take legal action and you may loose your rights to use any of their software.


Click sig for DarkBASIC Network IDE.

Login to post a reply

Server time is: 2024-04-27 23:39:39
Your offset time is: 2024-04-27 23:39:39