Avatar of Christian de Bellefeuille
Christian de Bellefeuille
Flag for Canada asked on

"Use MFC in a Static Library" doesn't seems to work

i'm trying to include the DLL of MFC inside the EXE of my application but i'm still getting this error message when i try to run my application in an XP Virtual Machine:

"This application has failed to start because of mfc100u.dll was not found.  Re-installing the application may fix this problem"

I don't want to give separate DLL with my application, i really want to include them in my EXE (and yes i know it will make the EXE bigger).

Any idea what i'm missing?  What should i do to really include these DLL?

(Note: I'm using VS2010)

thanks
C++Visual C++.NETProgramming

Avatar of undefined
Last Comment
jkr

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
jkr

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Christian de Bellefeuille

ASKER
Stupid answer - No.

LOL!   Sorry.  I really forgot to do that, and i was doing my test with the Release version while i was doing the changes in the settings of the Debug version only.

I bet you never thought that you would get 500 points that easy? :)
jkr

Well, I know the conundrums of Visual Studio for a quite while now, and since  I sometimes forget to always change settings for both configurations as well, I thought this could be the most likely reason - [beep] happens ;o)
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck