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 / How much of DBpro is Directx dependant?

Author
Message
Franky MCLanky
20
Years of Service
User Offline
Joined: 17th Jun 2004
Location:
Posted: 17th Jun 2004 23:45
considering using DBpro for tasks other than games and would prefer it not to rely on Dx. Could anyone tell me exactly how much of DBpro is Directx reliant?

e.g. is there certain commands that use it or does every executable need Directx?
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 17th Jun 2004 23:53
Its 110% reliant on DirectX...


The place for great plug-ins and things.
There's the right way, the wrong way and the TCA way...
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th Jun 2004 00:01
Indeed. DBPro is ultimately about creating games and/or multimedia applications.

2D, 3D, Input, Sound, Networking, Lighting and 3D Maths all use the DirectX libraries.

DBPro exes will not run on machines without DirectX 9 installed.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 18th Jun 2004 00:28
To answer more directly - you can't even start a DBPro program without DirectX 9 being installed. It uses DirectX at pretty much every level.

*** 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
OSX Using Happy Dude
21
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 18th Jun 2004 00:35 Edited at: 18th Jun 2004 00:35
And to add to that, you pretty much need DirectX 9.0b or c
Whilst it will work with 9.0, the later ones fix display problems.

Oh, and before you ask, you cant get DX9.0c yet - only myself and Raven (as far I know) have it.


The place for great plug-ins and things.
There's the right way, the wrong way and the TCA way...
TheAbomb12
21
Years of Service
User Offline
Joined: 14th Aug 2003
Location: Amist the blue skies...
Posted: 18th Jun 2004 00:47
Quote: "considering using DBpro for tasks other than games"


This is perfectlly feasible (especially with Blue GUI to make your program look like a windows app), but again the computers MUST have DirectX 9 installed.

If you really don't want to Use Direct X I would have to suggest using either C++ or Visual Basic.

Amist the Blue Skies...
Franky MCLanky
20
Years of Service
User Offline
Joined: 17th Jun 2004
Location:
Posted: 18th Jun 2004 01:25
thanks people! i haven't decided what to use for any planned utilities. I do know a bit of VB and C/C++ so if it comes to it , i may use one of them. Pity as DBpro has some very useful time saving commands.
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th Jun 2004 01:31
If you want to create applications that do not use 3D, then there are probably more suitable languages. DBPro was created to fill one particular void in the market.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
Franky MCLanky
20
Years of Service
User Offline
Joined: 17th Jun 2004
Location:
Posted: 18th Jun 2004 01:47
i looked at Blue GUI. It looks very useful and its cheap so i may order it. I'm sure that ill always be using DBpro even if i move on to other languages as well, its just so quick to get ideas down.
BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 18th Jun 2004 02:37
I suggested that DB Pro is not reliant on DirectX if you don't use DirectX functionality. Not because I develop non-DirectX progs (that would be non-sensical, there's better languages for doing that), but so that I can write code modules, such as number-crunching stuff, on my laptop when I'm out and about.

BatVink
http://facepaint.me.uk/catalog/default.php AMD 3000+ Barton, 512Mb Ram, 120 Gig Drive space, GeForce 5200 FX 128 Mb, Asus A7N8X Mobo.
Terms & Conditions apply
adr
22
Years of Service
User Offline
Joined: 21st May 2003
Location: Job Centre
Posted: 18th Jun 2004 02:40
Quote: "considering using DBpro for tasks other than games"

Sorry, but I don't think DBP is very good for another other than "multimedia" apps. If you're thinking you're trying to learn how to right simple windows applications, then look elsewhere. I can't imagine releasing a "calculator" application which uses DX9 and 100MB of RAM when running.

Floats like a butterfly, stings like when I pee
Franky MCLanky
20
Years of Service
User Offline
Joined: 17th Jun 2004
Location:
Posted: 18th Jun 2004 21:10
lol. who would want to make a calculator, unless you are a mathematition, there is not much scope for any new functionality.

i meant multimedia apps, just things other than games
dugzilla
21
Years of Service
User Offline
Joined: 5th Aug 2003
Location:
Posted: 18th Jun 2004 21:24
Hey it's Fred and Barney together in one post!
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th Jun 2004 22:21
Quote: "i meant multimedia apps, just things other than games"


There is no multimedia without DirectX (not unless to intent to avoid the use of sound, 2D or 3D)

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
Franky MCLanky
20
Years of Service
User Offline
Joined: 17th Jun 2004
Location:
Posted: 18th Jun 2004 22:44
im sure there is multimedia without Directx?, just not as efficient for real-time
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 18th Jun 2004 23:05
Quote: " im sure there is multimedia without Directx?, just not as efficient for real-time"


Yes, but then the developers would be forced to program and maintain two entirely seperate systems, with all the bugs and hardware issues that could bring.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 19th Jun 2004 04:17
Thats all strange i have directx 8.1 and it all runs just fine but however i think it does cause a problem with loading images and bitmaps and i have disabled directx before and it still ram fine including my programs
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 19th Jun 2004 11:02
Quote: "and i have disabled directx before and it still ram fine including my programs"


You can't disable DirectX. You can turn off hardware acceleration, which might stop 3D from working, but that is all. DirectX then simply defaults to software acceleration where it can.

BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games. - Plus URL download, win dialogs.
Over 140 new commands
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 19th Jun 2004 12:55
If you are running DX8.1, then you can't have the latest DBPro updates installed ... therefore your image loading problems are your own problem

*** 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
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 19th Jun 2004 21:37
i installed dx 9.0b and it fixed it thanks for pointing out its for dx 9.0

Login to post a reply

Server time is: 2025-05-28 04:45:55
Your offset time is: 2025-05-28 04:45:55