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.

Newcomers DBPro Corner / Executable won't run on other computer

Author
Message
sneaky smith12
18
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 12th Oct 2010 04:19 Edited at: 12th Oct 2010 16:14
Ok, so I feel like a dork for this, but I've never had to run an executable on a computer that didn't have DBPro already installed, so I guess it was my mistake to assume it was a just copy and paste for an exe file.

After much disappointment here's what I've tried:
* Installed DirectX 9.0c End User Runtime (Fixed missing DLL warning)
* Run as admin (asked to make sure if I wanted to run, and said yes)
* Run in compatibility mode (for Windows XP SP3 and Windows Vista SP2)
* Run as admin in compatibility mode

On all attempts after the DirectX issue it just won't open. The process is listed as it's there, but no screen for it.

System that I'm trying to run on specs:
64Bit Win 7
Radeon HD 5850 DirectX 11 Installed before 9.0c
4GB RAM
Doubt this is the problem...

Any ideas?

Thanks

EDIT:
It's not limited to the first computer it failed on. Tried on laptop (has an older version of DBPro installed), and it fails too.

Crash details from Vista crash:
Problem Event Name: APPCRASH
Application Name: DBPP.exe
Application Version: 1.0.0.0
Application Timestamp: 4bd9fc9
Fault Module Name: StackHash_cbc1
Fault Module Version: 0.0.0.0
Fault Module Timestampe: 0000000
Exception Code: c000005
Exception Offset 0000000
OS Version: 6.0.6002.2.2.0.768.3
Locale ID: 1033
Additional Information 1: cdc1
And then some hashes

EDIT2:
So, I looked at the EXE in Dark_Explorer and all dlls are listed fine as they are listed in _Temp.dbm. I'm going nuts trying to figure this out.

If at first you dont succeed, LOWER YOUR STANDARDS.
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 12th Oct 2010 06:58
Try some other operation system for testing?Something where should run ok is Windows XP.

Coding is My Kung Fu!
And My Kung Fu is better than Yours!
sneaky smith12
18
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 12th Oct 2010 07:03
Ran in 32 bit Vista, and no avail. I'll include source code and exe on this post if you could try it. I'm thinking it might be a DLL isn't getting included with the EXE as it should be, but that is a stretch.

If at first you dont succeed, LOWER YOUR STANDARDS.

Attachments

Login to view attachments
Master Man Of Justice
16
Years of Service
User Offline
Joined: 13th Feb 2008
Location: Between Insanity and Intelligence
Posted: 12th Oct 2010 07:25 Edited at: 12th Oct 2010 07:26
works fine here mate

but then again i have dbpro here too :S

sneaky smith12
18
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 12th Oct 2010 15:33 Edited at: 12th Oct 2010 18:34
Quote: "works fine here mate

but then again i have dbpro here too :S"


So is there a way to make sure all dlls are included in the executable?
EDIT:
Yes there is... I do not have them externalized, so it should be working.

EDIT2:
So I tried to compile it on my laptop which it hasn't been running, and it compiles fine if I take out the Ian Matrix's commands (not on the laptop yet), but it still won't run.

If at first you dont succeed, LOWER YOUR STANDARDS.
WRIOR
13
Years of Service
User Offline
Joined: 11th Oct 2010
Location: Ireland
Posted: 12th Oct 2010 17:18
Maybe its because the windows 7 is the 64 bit version if it ran on 32 bit vista then it should run on a 32 bit version of windows 7.I'm new so i dont know if darkbasic supports 64 bit operating systems but my guess is thats the root of your problem.
sneaky smith12
18
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 12th Oct 2010 22:12
I should clarify that I'm using 64Bit Windows 7. I believe it has to do with DEP (Data Execution Prevention); however, I have no idea how to fix the problem.

I added an exception for the application, but it still fails. Maybe I'm not using the array properly.

Once again, any help is always appreciated.

If at first you dont succeed, LOWER YOUR STANDARDS.
Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 12th Oct 2010 22:42
Are you using any external plugins such as IanM's?

Master Man Of Justice
16
Years of Service
User Offline
Joined: 13th Feb 2008
Location: Between Insanity and Intelligence
Posted: 12th Oct 2010 22:48 Edited at: 12th Oct 2010 22:48
Quote: "EDIT2:
So I tried to compile it on my laptop which it hasn't been running, and it compiles fine if I take out the Ian Matrix's commands (not on the laptop yet), but it still won't run.
"


Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 12th Oct 2010 23:59 Edited at: 13th Oct 2010 00:05
oh!

hold on while i get the link then, sorry, i skimmed it.

http://forumfiles.thegamecreators.com/?i=959271
Quote: "- For 32 bit systems, place the contents in c:\Windows\System32
- For 64 bit systems, place the contents in c:\Windows\SysWOW64"


from - http://forum.thegamecreators.com/?m=forum_view&t=85209&b=18

sneaky smith12
18
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 13th Oct 2010 02:51
Quote: "- Alternatively, if you are uncomfortable placing these files in those folders, or if you don't have the correct permissions to do so, place the files in the same directory as your executable."


Tried that Still no worky.

If at first you dont succeed, LOWER YOUR STANDARDS.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 13th Oct 2010 15:24
Can you send me a copy of your project - just the exe, no media?

I'll take a look and see what plug-ins of mine are being used and which commands. I also saw your other post in the DBPro forum, so I'll see where the official commands and the ones from my plug-ins intersect and try and trace the problem.

Utility plug-ins (26-JUL-2010)
I'm applying terms of use that require you to wear a red nose and honk a horn whenever you use the Internet
sneaky smith12
18
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 13th Oct 2010 20:06 Edited at: 13th Oct 2010 20:08
Ok, It's attached here. I'll include the source, too. Keep in mind that I had a "Disable Escapekey" command located after the screen resolution that was holding it up too.

Also, the problem was only on some computers with no obvious commonality between them.

If at first you dont succeed, LOWER YOUR STANDARDS.

Attachments

Login to view attachments
GreenDixy
16
Years of Service
User Offline
Joined: 24th Jul 2008
Location: Toronto
Posted: 15th Oct 2010 07:20
ran fine for me laptop and 3 desktops

======================================

GreenDixy Productions http://GreenDixy.Com
sneaky smith12
18
Years of Service
User Offline
Joined: 30th Apr 2006
Location: Like id tell you, oh wait i just did
Posted: 15th Oct 2010 21:58
Thanks It decided to work on my laptop finally. I think it was just the disable escapekey command, because that's all I changed, which is very weird.

If at first you dont succeed, LOWER YOUR STANDARDS.

Login to post a reply

Server time is: 2024-09-28 22:25:32
Your offset time is: 2024-09-28 22:25:32