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.

Dark GDK / DarkGDK (Nov) exe NOT working on Vista

Author
Message
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 4th Feb 2009 11:00
Anything compiled with the November update of DarkGDK does not work on Vista.

Error: The application has failed to start because side-by-side configuration is incorrect.

A similar error happens on XP SP1.

All works fine on Windows XP SP3 and Windows7 beta3.

Anyone had any similar experiences?
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 4th Feb 2009 11:50
I have updated Vista and now exes work on my PC.

However they don't work on 2 other Vista PCs I tried.

Any idea what the problem might be?
stevebrit
15
Years of Service
User Offline
Joined: 6th Jan 2009
Location: Florida USA
Posted: 5th Feb 2009 02:18
Just a longshot here do you have the needed directx aug 2007 stuff installed on the other computers ??

regards :- steve

AMD Athlon64x2 3.1Ghz - Ram 4Gb DDR2 800Mhz - 500Gb HD
Ndivia 9600GT SLI - 24in LCD - WIN 7 - 64 bit BETA
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 5th Feb 2009 08:20
directx is installed on the other pcs.

2 other pcs are getting this error: "this application has failed to start because the application configuration is incorrect"

I googled it, and apparantly it has to do with visual c++ dependencies. i am using visual c++ studio. any ideas?

my exe works on xp sp3, vanilla win7beta, vanilla vista sp1. The 2 other pcs are xp sp2 and sp3.
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 5th Feb 2009 13:08 Edited at: 5th Feb 2009 13:09
Yea, I have come accross the same problem.

You just need to download something off Microsoft, I cant remember exactly which one it was, I can check when I get home.

I think this might be this:

http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en#Overview

bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 5th Feb 2009 16:40
I have reinstalled the origianl DARKgdk release and everything works fine.

So the DEPENDENCY problem is introduced by the new DarkGDK November update.

It would be very important to know which libs the new DARKgdk depends on, so that one can link them statically with the exe in Visual C++.

Right now the exes produced DO NOT work on vanilla installations of XP, NOT becuase DARKgdk does not work, but because of the missing libs/dependencies.

the error "this application has failed to start because the application configuration is incorrect" does not give any hints!!!

I tried to use Dependency Walker to find out what possible lib/s could be missing but didn't notice anything in particular.
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 5th Feb 2009 17:04
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 5th Feb 2009 18:32
the microsoft link installs redistributable dlls. that way, i am sure the exes will work. but this is not the best solution as the exe is not anymore a standalone thing. I would prefer to know what libs the new gdk is dependent on, and link them statically in the exe.
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 6th Feb 2009 08:48
After 2 whole days of testing I found the actual problem.

The new DarkGDK November build is somehow not including the Manifest file

Even if EMBED MANIFEST in the MANIFEST TOOL properties is set to YES.

Putting the file Microsoft.VC90.CRT.manifest in the same folder as the exe solves the problem.

However is there some option in VC++ Project Properties that I can tweak to force the manifest to be embedded or is this something that has to be fixed inside DarkGDK?

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-09-30 17:39:48
Your offset time is: 2024-09-30 17:39:48