Click to See Complete Forum and Search --> : missing MFC70D.dll........HELP


relyas
April 1st, 2004, 01:27 PM
Hi,
I've created an application in VS 7. When I try to run the application from a machine that does not have VS installed I get the following error:

“This application has failed to start because MFC70D.dll was not found. Re-installing the application may fix this problem.”

Is there a way to add the dll to my code? or do something to get my application to run other then installing VS on that machine.
Thanks in advance

TheCPUWizard
April 1st, 2004, 01:29 PM
The best way is to create a proper install that will do the "right thing".

The poor (but functional) way is to statically link the dll.

relyas
April 1st, 2004, 01:33 PM
It is just a simple .exe file so I think creating a proper install would be going a bit over board. But how do you statically link the dll???

TheCPUWizard
April 1st, 2004, 01:48 PM
You do it through the project settings (dont have VS in front of me here).

I DO NOT RECOMMEND DOING THIS.

Your program will be MUCH larger than it needs to be and consume more resources on every machine that does has ANY program which is properly set up for VC7.

relyas
April 1st, 2004, 02:20 PM
I've never created an install before. What is the best way to go about that?

TheCPUWizard
April 1st, 2004, 02:22 PM
Add a deploymnt project to your solution, and follow the instructions in the wizard...

Andreas Masur
April 1st, 2004, 04:28 PM
[Moved thread]