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 / Silly question...but I'm new

Author
Message
JD Programming
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location: United Kingdom
Posted: 23rd Nov 2003 14:28 Edited at: 23rd Nov 2003 14:32
Okay, I do realize that this is probably a silly question to you advanced users of DarkBASIC...but I am new.

Anyways, I've just recently took the leap and started to use DarkBASIC and I think it's great! But my question is why are the executable files so big?!

You see me being a past Visual Basic user is used to having small files as low as 24kb <-- I'm aware that a program of this size is probably basic, but you can see where I'm coming from if you don't add code

So...if anyone out there knows why DarkBASIC executable files are around 700kb and more then please post back

Programming is one of the first steps to become an individual...
http://www.jdpgamestudios.co.uk
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 23rd Nov 2003 14:46
From what i remember of when this was discussed last...
each command 'set' is contained within .dll's so there'd be one each for 3d/2d/maths etc and if you use a command or function from any of these sets then that .dll has to be included in your .exe so you can see that if you use alot of commmands you will need alot of .dll's to be included with the .exe so average games tend to have 3mb+ .exe without media included in them.
everyone else correct me if i'm wrong thats just what i remember


GO TO THE ETERNAL DESTINY FORUMS!!! http://forums.eternaldestinyonline.com
Do it now!!!
JD Programming
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location: United Kingdom
Posted: 23rd Nov 2003 14:55
That makes sence, thanks 'ReD_eYe'

Programming is one of the first steps to become an individual...
http://www.jdpgamestudios.co.uk
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 23rd Nov 2003 17:56
Also remember that VB programs may be very small but you can't run them on anyone else's pc unless they alreay have vb or they have dowloaded the runtime library which weighs in at over 1mb


Boo!
Hypervoxels
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location: England
Posted: 23rd Nov 2003 18:50
VB uses libaries from the Windows OS. Darkbasic includes alot of it's own libaries so files sizes are aload bigger.
Spooky : I think you only need windows and not the runtime libary to use vb apps
JD Programming
21
Years of Service
User Offline
Joined: 22nd Nov 2003
Location: United Kingdom
Posted: 26th Nov 2003 01:52
You also need the correct *.ocx files - if required though

Programming is one of the first steps to become an individual...
http://www.jdpgamestudios.co.uk
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 26th Nov 2003 05:55
dont forget that in this current portion in time also none of the debugging libs have been switched off so its kinda still in debug phat mode.
Guyon
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 26th Nov 2003 15:49
Yep VB need the runtime library. Add your VB code + the runtime library and I bet you file size in not that far apart anymore.

So the advantage that VB has 1 runtime library and smaller code is also its disadvantage too. Some VB programs need different runtime libraries depending on the version. So you may have to have a number of run-times on your machine, or find the correct runtime for a DLed app.

DB is bigger, but you don't have to fuss with the library thing, it is a true .exe.
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 26th Nov 2003 16:23 Edited at: 26th Nov 2003 16:24
Quote: "DB is bigger, but you don't have to fuss with the library thing, it is a true .exe."


being a true exe has nothing to do with a dependency or a runtime library. Any vb exe compiled in version 5 or higher is a true asm exe (not interpretted) and may or may not depend on other dll's/ocx files depending on what was included in the project.

-RUST-
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 26th Nov 2003 18:44 Edited at: 26th Nov 2003 18:45
ALL VB apps need the VB virtual machine DLL. The requirements only go up from there depending on if you need access to Excel, Access, etc. I have written many VB applications that required 10 megs of support files before they could be installed.

Having said that, DBP still packs the whole house when it makes an exec file. But, there are no other dependancies beyond DirectX. That does give DBP an edge in deployment. It is possible to download a single file and have a complete game with no need for installers, etc. Anything that reduces your customer support burden should be looked on with gold stars attached.
--
TAZ
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 26th Nov 2003 21:08
agreed

-RUST-
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 27th Nov 2003 09:56
I wonder if there will ever be some sort of DB runtime library like VB? That way you could make much smaller apps by not having to include everything.
Shadow Lord
21
Years of Service
User Offline
Joined: 26th Sep 2003
Location:
Posted: 28th Nov 2003 22:04
Quote: "I wonder if there will ever be some sort of DB runtime library like VB? That way you could make much smaller apps by not having to include everything."


I hope not. Nothing, IMHO, appears more amature than having a text box appear that reads:
"You must go download tons more stuff before you can use this software!"

Given a choice, I vote for full blown .exe's.

I'm using DBPro to write "Suger Free Candyland", for diabetic children!

Login to post a reply

Server time is: 2024-11-25 18:46:46
Your offset time is: 2024-11-25 18:46:46