Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do you statically link mfc42loc.dll?

0 views
Skip to first unread message

Tim

unread,
Apr 23, 2004, 1:36:30 PM4/23/04
to
I have an MFC app written in Visual C++ 6.0 Professional. It's
localized, so I need to include mfc42loc.dll for the build of each
language. (Mfc42loc.dll will override mfc42.dll and cause
microsoft-written MFC dialogs to appear in that language.)

I definitely do not want to use MFC in a shared DLL. I want to use
MFC as a static library. I have mfc42loc.dll for each language. How
can I make the language-appropriate mfc42loc.lib statically link into
my app? Do I need to build the .lib file myself? How do I do that?

Thanks.

Joseph M. Newcomer

unread,
Apr 25, 2004, 2:17:15 AM4/25/04
to
Most likely you do not. Static linking is already a bad idea, because it statically links
only a tiny subset of the libraries, and other libraries still remain as DLLs. I suspect
that mfc42loc is one of these.
joe

Joseph M. Newcomer [MVP]
email: newc...@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

0 new messages