Re: Loading Language Resource DLLs

Tech-Archive recommends: Fix windows errors by optimizing your registry



<neelsmail@xxxxxxxxxxxxxx> wrote in message
news:dd866d89-77e8-4bb5-b83d-2a47c05c0897@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

The recommended way of loading a resource dll is in
CWinApp::InitInstance but in CWinApp class declaration you can see
LoadAppLangResourceDLL which is virtual and in the block which
mentions "// overrides for implementation". But in spite of that, it's
not documented anywhere.


See http://msdn.microsoft.com/en-us/magazine/cc163557.aspx for a good intro
to satellite DLL's.

-- David


.



Relevant Pages

  • Loading Language Resource DLLs
    ... The recommended way of loading a resource dll is in ... CWinApp::InitInstance but in CWinApp class declaration you can see ... LoadAppLangResourceDLL is a nice place to load the required library. ...
    (microsoft.public.vc.mfc)
  • Re: C-Run-time library static vs DLL vs both!
    ... The project file for my resource DLL has no code. ... Your comment on the other thread about loading with plain old::LoadLibraryand loading as a data file) is an option I had overlooked - thanks. ... I'll fish out my proper resource only builds and see if LoadLibrary does the trick for me - thanks. ...
    (microsoft.public.vc.mfc)
  • Re: Loading Language Resource DLLs
    ... CWinApp::InitInstance but in CWinApp class declaration you can see ... LoadAppLangResourceDLL is a nice place to load the required library. ... And you can do that in InitInstance. ...
    (microsoft.public.vc.mfc)