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 / Does Dark Basic Work On Windows 7?

Author
Message
Sequence
14
Years of Service
User Offline
Joined: 16th Mar 2011
Location: Canada
Posted: 16th Sep 2011 15:13
I loaded a program that ran on my windows XP computer and got the following problem messages. I have directx11. I don't know how directx works, do I need to write some code before even "hello world" works or something?

*****
Could not locate source file c:\users\generic\appdata\local\temp\untitled1.dba


Error
Failed to load DLL (4BProSetupDebug.dll))

This program can't start because
d3dx9_35.dll
*****


Strange thing is that it said "compiled successfully".

BUT, there's no "run program" that I can see available in the drop down menus.

Also, I have NO CLUE what the difference is between "file" and "project".


Computing SURE IS HARD in the year 2011. I'm used to typing in
Print "Hello world"

And, you know, it DOES.

If all the "1"s are in the right place, it'll work like a charm.
SH4773R
15
Years of Service
User Offline
Joined: 18th Jan 2010
Location: AMERICA!!!
Posted: 16th Sep 2011 17:22
About the error: Just install directx 9.0c and it will compile
As for the file and project confusion: Really simply, a file is a source code holder, a project holds files together.
Good luck!

CumQuaT
AGK Master
15
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Tasmania, Australia
Posted: 16th Sep 2011 17:50
SH4773R is 100% correct. Install the DirectX 9.0c redistributable and it'll all work peachy! I've been developing under Windows 7 since March with no problems

Malevolence: The Sword of Ahkranox
www.msoa-game.com
www.facebook.com/malevolencegame
JackDawson
13
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 16th Sep 2011 19:24
Here is the link to it. I too run DarkBasic Pro on Windows 7. I have ran it on both my 64 Bit and 32 Bit with no problems. ( Remember Administrator Mode is your friend. )

http://www.microsoft.com/download/en/details.aspx?id=35

"Life is like a box of chocolates.. eat it before it melts."
SH4773R
15
Years of Service
User Offline
Joined: 18th Jan 2010
Location: AMERICA!!!
Posted: 17th Sep 2011 01:10
I forgot about UAC I hated that stupid thing
For the record I too am running DBP on a win 7 rig

One last thing though! Be sure to disable antivirus on the game creators program files folder, it will save you weeks of grief

JackDawson
13
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 17th Sep 2011 22:28 Edited at: 17th Sep 2011 22:28
Quote: "One last thing though! Be sure to disable antivirus on the game creators program files folder, it will save you weeks of grief"


Care to explain why ? Several anti-virus programs have been running while its installed and running, with no problems. Care to explain why it should be disabled ?

"Life is like a box of chocolates.. eat it before it melts."
DarkDISCUSSION
13
Years of Service
User Offline
Joined: 6th Jul 2011
Location: Ft Madison, IA
Posted: 17th Sep 2011 22:40 Edited at: 17th Sep 2011 22:44
I also have found that the DBPro Upgrade 7.5 doesn't compile without my Kaspersky 2011 antivirus switched off.
I actually contacted support over it and they told me that this happens under Windows 7 32 and 64 bit versions. I dont know why this happens, It just does.

as for the User Account Control (UAC) I havent a clue.

Austin H Wicker
http://captainwicker.webs.com/
JackDawson
13
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 17th Sep 2011 22:47 Edited at: 17th Sep 2011 22:56
I too have tested the following :

Nod32
Kaspersky
AVG
Norton
McCaffee
BitDefender

All of those work just fine with it on Windows 7 32 Bit as well as 64 Bit. ( Although AVG lagged my computer though, only because I was trying to register DBP at the time. But once registered, it worked with no problems. )

I have more then one computer in my house. I also test machines of various CPUs for a lot of reasons.

Point being, I am beginning to suspect that your not installing the Anti-Virus AND / OR the DBP with Administrator mode. It is the #1 cause of all glitches on Windows 7 / Vista machines. AND you CAN run DBP in XP compatibility mode if it comes down to it.

Quote: "I forgot about UAC I hated that stupid thing"


Again this is usually the #1 cause of the problems. So install it with Administrator Mode and there should be no reasons why it will not run.

"Life is like a box of chocolates.. eat it before it melts."
DarkDISCUSSION
13
Years of Service
User Offline
Joined: 6th Jul 2011
Location: Ft Madison, IA
Posted: 17th Sep 2011 22:51
That's nice to know. I will upgrade my copy again now lol

Austin H Wicker
http://captainwicker.webs.com/
JackDawson
13
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 17th Sep 2011 23:02 Edited at: 17th Sep 2011 23:06
No problem, also, 7.5 has issues anyways. I could not get it to run correctly with one of my source code, so I updated to 7.61 and the unaltered same code worked just fine. So Upgrade to at least 7.61. You are not required to have 7.5 to update to 7.61.

7.5 Update
http://www.thegamecreators.com/?m=view_product&id=2000&page=upgrade7-5

7.61 Update
http://www.thegamecreators.com/?m=view_product&id=2000&page=upgrade7-61

Also MAKE SURE you have chosen Administrator mode when you installed DirectX 9.0c ( NOTE : If the file extension is MSI or it doesn't give you the option of Admin Mode, it WILL eventually during the install )

"Life is like a box of chocolates.. eat it before it melts."
DarkDISCUSSION
13
Years of Service
User Offline
Joined: 6th Jul 2011
Location: Ft Madison, IA
Posted: 17th Sep 2011 23:34
Hey,
Is this 7.61 the latest upgrade?
And what do the upgrades do?

Austin H Wicker
http://captainwicker.webs.com/
aerostudios
16
Years of Service
User Offline
Joined: 20th May 2009
Location: Oklahoma City OK (USA)
Posted: 18th Sep 2011 00:19
Just as another point I'd like to throw out; I have found if you stay away from installing in the C:\Program Files folder on Windows 7, there aren't as many UAC headaches. 'Program Files' is a protected area under Windows 7.

Russell B. Davis/aerostudios
JackDawson
13
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 18th Sep 2011 19:56
Quote: "Is this 7.61 the latest upgrade?"


Its the latest OFFICIAL update yes. The ones where you see 7.7x are just beta testing upgrades. But they have issues with lighting and fog. So I stick with 7.061. However I have been playing with the straight up version of 7.7.. not 7.7x. And it seams to be working so far. But how I found that, I have no clue.. lol

"Life is like a box of chocolates.. eat it before it melts."
Sequence
14
Years of Service
User Offline
Joined: 16th Mar 2011
Location: Canada
Posted: 20th Sep 2011 05:05
Okay,.... WHEW!!!! Got it going. Thank you all.



windows 7 sure is funny. You need a gargantuan directX11 library to have pixels appear on the screen, then you need ANOTHER 89 Megabytes of graphics code to get a picture display running simultaneously along side it. An older version, in this case, dX9.0c.


Well I got it going, however, it was NOT, I repeat NOT NOT easy to figure out how to get it into 1280x1024 full screen display, ESPECIALLY when you had to choose it TWICE in the UNSEEN options, AND EVEN THEN, I could NOT CHOOSE the "FULLSCREEN RESOLUTION" under the "SCREEN" option until I did something, and I can't remember what I did to make it "choosable" if someone else asks me how to do it..... "DarkBasic" isn't that easy to use..... But I have looked at many other languages, and they are pretty much IMPOSSIBLE to use.... And this goes for "SIMPLE" as well. I don't know how many may be familiar with it, but there was some very basic feature that I was not able to achieve with it. Think it was something to do with grabbing keyboard input.

BTW, in windows XP I was, "relatively easily" able to get to full screen control, as that sidebar for selecting it was visible upon first launching of DarkBasic (I believe, because I can't remember struggling to find it before).

Are there commands to change that inside of DarkBasic, while it's running?


Oh and, what's up with the near impossible arrows key capture with the INKEY$ command? I've used a Basic before where it was 28, 29, 30 and 31. EASY!

If all the "1"s are in the right place, it'll work like a charm.
Diggsey
19
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 20th Sep 2011 11:46
It's not hard to get into fullscreen mode, it's just changing one combobox value to fullscreen instead of windowed. If you don't like the default editor you could try codesurge or something.

You can't capture arrowkeys with inkey$ because the arrowkeys aren't characters. inkey$ captures characters. If you want to capture other keys use scancode() or keystate() depending on your needs. keystate() will let you check for more that one key at once whereas scancode() will not.

[b]

Login to post a reply

Server time is: 2025-06-18 07:48:29
Your offset time is: 2025-06-18 07:48:29