invalid configuration?

D

Dave Cullen

I have a VC application created with Studio 2005 and when i try to run the
exe on the target machine I get an error message that says the program has
an invalid configuration and I should try reinstalling it. It's just a
simple dialog app using MFC in a shared DLL. Target machine is XP with Net
Framework installed.

Any idea what is being called "configuration"?

Thanks
 
A

Alex Blekhman

Dave Cullen said:
I have a VC application created with Studio 2005 and when i try
to run the exe on the target machine I get an error message that
says the program has an invalid configuration and I should try
reinstalling it. It's just a simple dialog app using MFC in a
shared DLL. Target machine is XP with Net Framework installed.

Any idea what is being called "configuration"?

Probably you're trying to run debug build of the application on
the target machine. Make relase build and ensure that target
machine has all necessary libraries installed. MFC is not a part
of .NET Framework, BTW. Look in MSDN for "Microsoft Visual C++
2005 Redistributable Package (x86)".

Alex
 
D

David Wilkinson

Dave said:
I have a VC application created with Studio 2005 and when i try to run the
exe on the target machine I get an error message that says the program has
an invalid configuration and I should try reinstalling it. It's just a
simple dialog app using MFC in a shared DLL. Target machine is XP with Net
Framework installed.

Any idea what is being called "configuration"?

Dave:

..NET framework has nothing to do with MFC. Are you taking steps to install the
correct MFC and CRT DLL's on the target machine?

Static linking may be the way to go for you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top