invalid configuration?

  • Thread starter Thread starter Dave Cullen
  • Start date Start date
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
 
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
 
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.
 
Back
Top