Click here to Skip to main content
15,790,440 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: For beginners introduction to CFormView, CView ? Pin
bosfan19-Jan-13 5:38
bosfan19-Jan-13 5:38 
GeneralRe: For beginners introduction to CFormView, CView ? Pin
SajeeshCheviry19-Jan-13 8:37
SajeeshCheviry19-Jan-13 8:37 
QuestionUsing the OpenFileDialog in Console? Pin
Member 975216818-Jan-13 8:01
Member 975216818-Jan-13 8:01 
QuestionRe: Using the OpenFileDialog in Console? Pin
jeron118-Jan-13 8:32
jeron118-Jan-13 8:32 
AnswerRe: Using the OpenFileDialog in Console? Pin
Member 975216818-Jan-13 8:38
Member 975216818-Jan-13 8:38 
GeneralRe: Using the OpenFileDialog in Console? Pin
jeron118-Jan-13 9:07
jeron118-Jan-13 9:07 
SuggestionRe: Using the OpenFileDialog in Console? Pin
Member 975216818-Jan-13 9:33
Member 975216818-Jan-13 9:33 
QuestionHELP: how to load satellite DLL for a DLL Pin
andwan018-Jan-13 6:54
andwan018-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 Pin
andwan021-Jan-13 23:46
andwan021-Jan-13 23:46 
QuestionCompiling libexif 0.6.21 Pin
Sharath C V17-Jan-13 19:19
professionalSharath C V17-Jan-13 19:19 
AnswerRe: Compiling libexif 0.6.21 Pin
CPallini17-Jan-13 22:55
mveCPallini17-Jan-13 22:55 
GeneralRe: Compiling libexif 0.6.21 Pin
Sharath C V18-Jan-13 16:51
professionalSharath C V18-Jan-13 16:51 
GeneralRe: Compiling libexif 0.6.21 Pin
CPallini19-Jan-13 0:18
mveCPallini19-Jan-13 0:18 
AnswerRe: Compiling libexif 0.6.21 Pin
Graham Breach17-Jan-13 23:41
Graham Breach17-Jan-13 23:41 
GeneralRe: Compiling libexif 0.6.21 Pin
Sharath C V18-Jan-13 16:49
professionalSharath C V18-Jan-13 16:49 
QuestionNeed Debugging tips: MFC static library DLL Pin
Clark Kent12317-Jan-13 9:06
professionalClark Kent12317-Jan-13 9:06 
AnswerRe: Need Debugging tips: MFC static library DLL Pin
Richard MacCutchan18-Jan-13 0:07
mveRichard MacCutchan18-Jan-13 0:07 
QuestionRe: Need Debugging tips: MFC static library DLL Pin
Clark Kent12318-Jan-13 4:03
professionalClark Kent12318-Jan-13 4:03 
AnswerRe: Need Debugging tips: MFC static library DLL Pin
David Knechtges18-Jan-13 4:43
David Knechtges18-Jan-13 4:43 
GeneralRe: Need Debugging tips: MFC static library DLL Pin
Clark Kent12318-Jan-13 5:19
professionalClark Kent12318-Jan-13 5:19 
AnswerRe: Need Debugging tips: MFC static library DLL Pin
Richard MacCutchan18-Jan-13 5:11
mveRichard MacCutchan18-Jan-13 5:11 
GeneralRe: Need Debugging tips: MFC static library DLL Pin
Clark Kent12318-Jan-13 5:18
professionalClark Kent12318-Jan-13 5:18 
GeneralRe: Need Debugging tips: MFC static library DLL Pin
Richard MacCutchan18-Jan-13 5:23
mveRichard MacCutchan18-Jan-13 5:23 
GeneralRe: Need Debugging tips: MFC static library DLL Pin
Clark Kent12318-Jan-13 5:32
professionalClark Kent12318-Jan-13 5:32 
AnswerRe: Need Debugging tips: MFC static library DLL Pin
Alan Balkany18-Jan-13 6:21
Alan Balkany18-Jan-13 6:21 

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

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