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 Professional Discussion / ReDistribution of programs

Author
Message
Rassler
21
Years of Service
User Offline
Joined: 22nd Apr 2004
Location:
Posted: 23rd Apr 2004 15:31
I'm sorry, I have no doubt this must be one of the most asked questions, but I can't find the answer on here.

What do I have to distribute with my code for it to run on users PCs. I know at least one of the dlls, but rather than wait for it to tell me with an error warning, could you tell me what I should add to an install prog.

While I'm here though, I can't actually see a distribution license agreement anywhere (I got the Dark Basic Pro box set).

Call me blind, call me stupid, but call me. Hey! I reccon I could make a song out of that. Any suggestions for the 2nd verse?

Note. The 'DarkBasic' in my email is only so I can seperate my emails. Don't go thinking I'm a clever mega brain who wrote any of this stuff.
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 23rd Apr 2004 15:36
All you need to distribute is the executable (and any other stuff that goes with your program), plus, if your using the BASS Dll's, SQLite etc, you also need the main DLL's for those.


The place for all great plug-ins.
Keeping it Unreal since 2004
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 23rd Apr 2004 20:29
... and don't forget the media that your program uses too.

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk
dugzilla
21
Years of Service
User Offline
Joined: 5th Aug 2003
Location:
Posted: 23rd Apr 2004 20:51
You can add all media in the exec. without external files correct?
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 23rd Apr 2004 20:57
Yes, but they will decompress into files on the users computer.


The place for all great plug-ins.
Keeping it Unreal since 2004
dugzilla
21
Years of Service
User Offline
Joined: 5th Aug 2003
Location:
Posted: 23rd Apr 2004 22:25
I'm talking
about textures(bmp,tga,ect.)and x files or dbo will be
decompress that user would be able to copy or do whatever they would
like with my creations? If the person had dbpro,could my source code
be open? I don't remember being able to access any of the media or
code from downloading alien contest games. I never tried either
way.
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 23rd Apr 2004 22:50
If you attach media during compilation then it will be decompressed when the program is executed.

Your source code is safe, of course as DBPro compiles to machine code.


The place for all great plug-ins.
Keeping it Unreal since 2004
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 23rd Apr 2004 23:06
well "safe" is a subjective term. There are ways to decompile/disassemble exe's into viewable source, unless of course you use a good form of obfuscation.


Home of the VB.NET Class Builder Utility - Demo and FULL versions now available!!
Rassler
21
Years of Service
User Offline
Joined: 22nd Apr 2004
Location:
Posted: 26th Apr 2004 00:00
Thankyou for the responses.

I did put my resource files (gif's) with my code, but actually it doesn't run on any machine but this one where I have DB loaded. It was only a test piesce, just spinning cubes with some pictures on them.

I thought from the start of using DB that i would need to set up a function that I can reference to let me know if certain graphics functions are available on the target machines. As you would in any language. So I'll sort that out as my first project.

Thankyou.

Note. The 'DarkBasic' in my email is only so I can seperate my emails. Don't go thinking I'm a clever mega brain who wrote any of this stuff.

Login to post a reply

Server time is: 2025-05-31 00:00:37
Your offset time is: 2025-05-31 00:00:37