Link to home
Create AccountLog in
Avatar of Christian de Bellefeuille
Christian de BellefeuilleFlag 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
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of 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? :)
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)