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.

DarkBASIC Discussion / Executables

Author
Message
BB9 Brad
21
Years of Service
User Offline
Joined: 6th Oct 2003
Location:
Posted: 8th Oct 2003 21:06
When i try to make my music program work as a .exe it doesnt work it wont play the music but the program works fine as a sorce why is this? just ask me if you need to see the very dodgy code lol

DB RULES!
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 8th Oct 2003 21:11
Well, what kind of music program is it?

You need to be a bite more specific in your posts... And Yes, it is recomended to include Code to help...

But, to answer your question... did you Build the Exe or did you Make Final?

there's a difference (only if you're using external files of course)...

Hope I Helped...

Knowladge Belongs To The People...
BB9 Brad
21
Years of Service
User Offline
Joined: 6th Oct 2003
Location:
Posted: 9th Oct 2003 00:25
Please excuse poor coding as i am pretty new to dark basic and i have tried putting it as a normal .exe as it doesnt need no extra's as far as im aware and im operating on XP

DB RULES!
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 9th Oct 2003 10:31
Ok, well, i couldnt get the program to run at all (Runtime Error: Could Not Load Cd Music), but i had a look through your code and it apears that you were using predifined DB commands as your Gosub names eg Next and Step so i just changed them for you...

Oh, and i dont know what version of DB you are using because, i had a look and there is no Set Music Volume command anywhere (I'm using DBClassic with the Enhancement Upgrade v1.13)... But oh well...

Here is the fixed up code, try and build the exe now...



Hope I Helped...

Knowladge Belongs To The People...

Login to post a reply

Server time is: 2025-05-20 13:58:44
Your offset time is: 2025-05-20 13:58:44