VC dotnet program won't run

E

Ellie

I have a vc6 C++ program that I just recompiled in dotnet, Static mfc, no
clr but the program will not run on some XP machines. It runs on others. The
available ram is only 512. Nothing substantial has changed in this program
except the recompiling using dotnet. I use a VBdotnet program and call the
C++ program using the shell command and get a file not found error. When I
try to call the program directly I get:

"This application failed to start because the application configuration is
incorrect. Reinstalling the application may fix this problem."

I've never needed an install program for C++ programs before?? Any help
would be very much appreciated.

Thanks
 
D

David Wilkinson

Ellie said:
I have a vc6 C++ program that I just recompiled in dotnet, Static mfc,
no clr but the program will not run on some XP machines. It runs on
others. The available ram is only 512. Nothing substantial has changed
in this program except the recompiling using dotnet. I use a VBdotnet
program and call the C++ program using the shell command and get a file
not found error. When I try to call the program directly I get:

"This application failed to start because the application configuration
is incorrect. Reinstalling the application may fix this problem."

I've never needed an install program for C++ programs before?? Any help
would be very much appreciated.

If your program is not using CLR, and links statically to CRT/MFC then it should
not need the CRT/MFC DLL's. There must be something wrong with your project
settings, or perhaps you are linking to 3rd party code that is dynamically
linked to CRT/MFC.
 

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

Similar Threads


Top