Link to home
Start Free TrialLog in
Avatar of jc64
jc64

asked on

MFC Distripution

I created a small MFC dll that links dynamically the MFC runtime environment. What are the names of the MFC runtime dll to distripute with my app.

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of ShaunWilde
ShaunWilde

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jhance
jhance

In the case of a small app using MFC, you can usually get a smaller overall distribution if you statically link the MFC libs.  Since only the MFC functions that are actually used are linked in, you get a minimal set.  And if your single EXE file is the only thing in your application, you don't save anything by being able to share the libs between your multiple EXEs.

I've experimented and built MFC statically linked EXEs as small as 24K.  A reasonable MFC app that does something useful is usually in the 500K range.  Not exactly a major concern in these multi-GB disk drives days.

My biggest concern is usually fitting the distribution into 1.4MB and you just can't do this with MFC redistributables.
> My biggest concern is usually fitting the distribution into 1.4MB and you just can't do this with MFC
redistributables.

what about compression? does that help?