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 / reinstalled dbpro

Author
Message
silvertop
17
Years of Service
User Offline
Joined: 27th Apr 2009
Location: alexandria
Posted: 4th Apr 2011 16:24
had to reinstall dbpro from disk. after using program`s ie. demo`s to test i keep getting following message when executed --- could not create c:\program files\the game creators\dark basic professional\prodjects\facedemo\facedemo.exe any suggestions

user2
Admiral MH
15
Years of Service
User Offline
Joined: 10th Feb 2011
Location: TX, USA
Posted: 4th Apr 2011 19:09
Sounds like it could be either,

1. If you have windows 7 SP1 you need to get the latest update to fix all DBPro programs. Here is the link to the latest update that fixes that. Here

2. It could be your antivirus eating up your applications. I would set the "The Game Creators" folder to exclude it from virus scans.
Indicium
18
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 4th Apr 2011 20:18
Run as administrator on WinVista or 7
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 4th Apr 2011 20:40
Another way to avoid the problem is to install it somewhere different to the Program Files directory - that avoids the whole administrator thing completely.

Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 4th Apr 2011 22:36
Is there a good reason why that isn't the default? Something like "C:\TGC\DBP" (with all the missing letters added of course).
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 4th Apr 2011 23:04
Yes: History.

The reason for the problems is that from Vista onwards, Microsoft introduced extra protection for the Program Files directory, stopping you (and potentially malevolent programs) from placing files there without permission.

The reason that DBPro has a problem with this is:
1. The TEMP folder that DBPro compiles to by default is under that Program Files umbrella.
2. The project files are under the same umbrella.

The reason that DBPro does those things is because it was written for Windows 98 & XP, where that sort of thing was allowed.

The generally accepted organisation is now to install programs under the Program Files directory, but to use 'C:\Users\<User>\AppData\Local\Temp' for temporary files, and to place project files into a subdirectory off of 'C:\Users\<User>\Documents' (allowing override from the user of course). Do it that way and you have no problems.

Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 5th Apr 2011 00:58
Quote: "The generally accepted organisation"


Is that documented anywhere where users will see it?
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 5th Apr 2011 15:09
They are Microsoft guidelines, not TGC's.

There are a whole set of guidelines they provide so that you can put the 'Certified for Windows' logo on the front of your product, and the few I've given are a very very small subset of those.

Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 5th Apr 2011 16:10
I see. I misunderstood what you were saying. Thanks.

Login to post a reply

Server time is: 2026-07-11 14:56:55
Your offset time is: 2026-07-11 14:56:55