# Distribution problem (allegro manifest specific)

This topic is 3714 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

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
+-- 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 on other sites
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 on other sites
Quote:
 Original post by dpadam450Copy 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 on other sites
Quote:
 Original post by daviangelThis 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.

1. 1
2. 2
Rutin
19
3. 3
4. 4
5. 5

• 14
• 12
• 9
• 12
• 37
• ### Forum Statistics

• Total Topics
631428
• Total Posts
3000026
×