Click to See Complete Forum and Search --> : Compile MFC
DiEDa
Jan 28th, 2001, 06:17 AM
How can I compile MFC DLL's with my program (in Visual C++)
Vlatko
Jan 28th, 2001, 06:52 AM
Goto file->new->MFC AppWizard (dll)
//write the code
Compile it using F7 or Build->Compile
parksie
Jan 28th, 2001, 07:53 AM
If you want to include the MFC code in your DLL rather than using an external one, choose it under Project Settings->MFC Static Library
DiEDa
Jan 28th, 2001, 09:10 AM
I want to include MFC im my exe
parksie
Jan 28th, 2001, 10:11 AM
Same method.
DiEDa
Jan 28th, 2001, 11:21 AM
Ok but what with Activex controls??
parksie
Jan 28th, 2001, 11:37 AM
ATL or MFC?
If you're using MFC then some things get dropped out that are needed for them. Although it usually works...just set it to MFC static as normal :)
Then watch your file size rocket ;)
Why do you specifically need it embedded? It's much easier to keep it as a DLL...
And before anyone says anything...DLL Hell does play a part in this, but if your installer program is careful it doesn't.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.