Solved

App doesn't run at windows Xp

Posted on 2004-08-09
7
188 Views
Last Modified: 2010-04-01
Hi,

    I am having some problem with MFC application. I did an MFC application in windows 2000 ( It runs ok), but when i try to execute at windows Xp the app doesn't work. The erro is: Error initializing the system, configuration is wrong. Try to reinstall the software to fix this problem.
    Do you have any idea what it is? (I have included all dll that the program requires)

   
0
Comment
Question by:emu10k1
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 39

Expert Comment

by:itsmeandnobodyelse
ID: 11751514
Mabe you forgot to copy the ini file of your app to the windows directory? Or is the app's configuration file in the registry? You may search your Win2k registry for the name of your application. If you find something, export that branch to .reg file, copy it to your winxp system (e. g. by floppy) and double-click the file using the explorer.

Good luck.

Regards, Alex

0
 
LVL 86

Expert Comment

by:jkr
ID: 11752134
>>Do you have any idea what it is? (I have included all dll that the program requires)

You might want to double-check that using the tool from www.dependencywalker.com
0
 
LVL 2

Expert Comment

by:guntherothk
ID: 11753042
It is possible for the program to check the operating system version by inspecting the value returned by GetVersion(). If the program was written for win2000, it may be checking for a specific version instead of for a range of versions, and printing this message when it sees it's running on XP. Look in the sources for a call to GetVersion().
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:emu10k1
ID: 11756315
The Error: it fails in the inicialization of the system due to an error of configuration.  The problem can be solved reinstalling software.

It seems to be something that MFC app  use but i don't  know what, therefore i made a deployment project and the app's configuration file is ok in the registry.
0
 
LVL 86

Expert Comment

by:jkr
ID: 11759174
Have you tried the dependency walker  on th system in question?
0
 

Author Comment

by:emu10k1
ID: 11766984
I found the error but i dont know why it is happening. The problem was the name of my configuration file. The name is ManutencaoBaseDados.exe.config and when i put ManutencaoBaseDados.config it works. My project´s name is ManutencaoBaseDados, does it have any problem? Just remenbering that in windows 2000 works with the first name.  
0
 
LVL 39

Accepted Solution

by:
itsmeandnobodyelse earned 500 total points
ID: 11770063
>> ManutencaoBaseDados.exe.config

That is a very 'strange' name because of the ".exe" part. I suppose that there is any subsystem on XP that checks the file for being an executable - maybe an antivirus software - and fails because of that.

I would strongly recommend to use the new name.

Regards, Alex
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question