Sign in to follow this  
lone_wolfII

Distribution problem (allegro manifest specific)

Recommended Posts

lone_wolfII    122
I'm stuck. I know there's other threads about this problem. None of the solutions that have been posted have worked unfortunately. :( I have a simple program that I wrote using C++ in Visual Studio 2005. It's a Win32 project. It works fine when I run it on my dev computer. This computer has dev allegro dll's and the msvcr.dll, msvcp.dll and msvcm.dll. I've attempted to run the program on another computer without these dll's. No matter what I try the program spits out the error "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem." I can't work out what's wrong with my configuration. Here's the folder structure of my program:
+ gameFolder
|
+--+ manifest
|  |
|  +-- msvcm80.dll
|  +-- msvcp80.dll
|  +-- msvcr80.dll
|  +-- MSVCR80.dll.manifest
|
+--+ sprites
|  |
|  + helicopter_all.bmp
|
+-- alld42.dll
+-- alleg42.dll
+-- allp42.dll
+-- license.txt
+-- netAssault2.exe
+-- netAssault2.ini
The contents of the manifest file is as follows:
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
  <dependency>
    <dependentAssembly>
      <assemblyIdentity 
        type='win32' 
        name='Microsoft.VC80.CRT' 
        version='8.0.50608.0'
        processorArchitecture='x86' 
        publicKeyToken='1fc8b3b9a1e18e3b' />
    </dependentAssembly>
  </dependency>
  <file name='msvcr.dll'/>
  <file name='msvcp.dll'/>
  <file name='msvcm.dll'/>
</assembly>
I cannot work out what's wrong with it for the life of me. Does anyone know what could be wrong? The manifest reads on compile and can find all msvc*.dll's. I'll upload the program if anyone needs to look at it closer. Thanks guys.

Share this post


Link to post
Share on other sites
dpadam450    2357
Quote:

I've attempted to run the program on another computer without these dll's


Well you already know the difference since your stating this as the problem. Copy alleg42.dll or whatever it is to your exe folder.

Configuration problem at startup = dll problem

Share this post


Link to post
Share on other sites
daviangel    604
lone_wolfII    122
Quote:
Original post by dpadam450
Copy alleg42.dll or whatever it is to your exe folder.
Configuration problem at startup = dll problem


I have. All the allegro dll's are straight from my machine.
I believe the problem lies with the manifest file - the folder structure may be somehow pointing incorrectly to some dll's.

Share this post


Link to post
Share on other sites
lone_wolfII    122
Quote:
Original post by daviangel
This must be a common problem since it's mentioned in the Allegro wiki. This should help you figure it out:



Yeah, already found that one myself, the content on that page shows a very similar setup to my folder system.

I can't see the why mine doesn't work :(. All my msvc*.dll's were downloaded from this page.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this