Click here to Skip to main content

C / C++ / MFC

 
GeneralRe: For beginners introduction to CFormView, CView ? Pinmemberbosfan19-Jan-13 5:38 
GeneralRe: For beginners introduction to CFormView, CView ? PinmemberSajeeshCheviry19-Jan-13 8:37 
QuestionUsing the OpenFileDialog in Console? [modified] PinmemberMember 975216818-Jan-13 8:01 
QuestionRe: Using the OpenFileDialog in Console? Pinmemberjeron118-Jan-13 8:32 
AnswerRe: Using the OpenFileDialog in Console? PinmemberMember 975216818-Jan-13 8:38 
GeneralRe: Using the OpenFileDialog in Console? Pinmemberjeron118-Jan-13 9:07 
SuggestionRe: Using the OpenFileDialog in Console? PinmemberMember 975216818-Jan-13 9:33 
QuestionHELP: how to load satellite DLL for a DLL Pinmemberandwan018-Jan-13 6:54 
I have a Visual C++ workspace that has 2 projects (1 exe & 1 DLL).
 
I used Serge Wautier's tutorial ( Resource DLLs and Language Selection Menu[^] ) to create (multi-language) resource DLLs (satellite DLLs) branching off the exe.
 
Now I have a collection of strings in the DLL that are shared in other projects. I created a satellite DLL for that DLL but can't figure out how to load it on-demand just like the exe's satellite DLL.
 
He used:
HINSTANCE hDll = LoadLibrary(szFilename);
AfxSetResourceHandle(hDll);
 
void CLanguageSupport::UnloadResourceDll()
{
if (m_hDll!=NULL)
{
SetResourceHandle(AfxGetApp()->m_hInstance); // Restores the EXE as the resource container.
FreeLibrary(m_hDll);
m_hDll= NULL;
}
}
 
etc etc for the unloading/loading satellite DLLs for the exe.
but how to do the same for the DLL?
AnswerRe: HELP: how to load satellite DLL for a DLL Pinmemberandwan021-Jan-13 23:46 
QuestionCompiling libexif 0.6.21 PinmemberSharath C V17-Jan-13 19:19 
AnswerRe: Compiling libexif 0.6.21 PinmvpCPallini17-Jan-13 22:55 
GeneralRe: Compiling libexif 0.6.21 PinmemberSharath C V18-Jan-13 16:51 
GeneralRe: Compiling libexif 0.6.21 PinmvpCPallini19-Jan-13 0:18 
AnswerRe: Compiling libexif 0.6.21 PinmemberGraham Breach17-Jan-13 23:41 
GeneralRe: Compiling libexif 0.6.21 PinmemberSharath C V18-Jan-13 16:49 
QuestionNeed Debugging tips: MFC static library DLL PinmemberClark Kent12317-Jan-13 9:06 
AnswerRe: Need Debugging tips: MFC static library DLL PinmvpRichard MacCutchan18-Jan-13 0:07 
QuestionRe: Need Debugging tips: MFC static library DLL PinmemberClark Kent12318-Jan-13 4:03 
AnswerRe: Need Debugging tips: MFC static library DLL PinmemberDavid Knechtges18-Jan-13 4:43 
GeneralRe: Need Debugging tips: MFC static library DLL PinmemberClark Kent12318-Jan-13 5:19 
AnswerRe: Need Debugging tips: MFC static library DLL PinmvpRichard MacCutchan18-Jan-13 5:11 
GeneralRe: Need Debugging tips: MFC static library DLL PinmemberClark Kent12318-Jan-13 5:18 
GeneralRe: Need Debugging tips: MFC static library DLL PinmvpRichard MacCutchan18-Jan-13 5:23 
GeneralRe: Need Debugging tips: MFC static library DLL PinmemberClark Kent12318-Jan-13 5:32 
AnswerRe: Need Debugging tips: MFC static library DLL PinmemberAlan Balkany18-Jan-13 6:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150123.1 | Last Updated 26 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid