Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTo all readers - I'm collecting FAQs from this forum Pin
Michael Dunn30-Jun-01 13:44
sitebuilderMichael Dunn30-Jun-01 13:44 
Generalmemset with 32 bit values Pin
Alex Griffing30-Jun-01 11:09
Alex Griffing30-Jun-01 11:09 
GeneralRe: memset with 32 bit values Pin
Mike Nordell30-Jun-01 11:35
Mike Nordell30-Jun-01 11:35 
GeneralRe: memset with 32 bit values Pin
Ben Burnett30-Jun-01 13:17
Ben Burnett30-Jun-01 13:17 
GeneralRe: memset with 32 bit values Pin
Alex Griffing30-Jun-01 14:07
Alex Griffing30-Jun-01 14:07 
GeneralSDI question ... Pin
Hadi Rezaee30-Jun-01 8:17
Hadi Rezaee30-Jun-01 8:17 
GeneralRe: SDI question ... Pin
Hadi Rezaee30-Jun-01 17:23
Hadi Rezaee30-Jun-01 17:23 
GeneralHelp - CString::LoadString(nID) is using the wrong resource handle! Pin
James Millson30-Jun-01 8:07
James Millson30-Jun-01 8:07 
I am building a library that will be linked to dynamically by other applications. In the library I load strings from the resource string table for the DLL using CString::LoadString(nID). The problem is that once the DLL is loaded, CString::LoadString(nID) tries to load the string resource from the applications resource table, rather than the DLLs.

I have tried setting the resource handle (using AfxSetResourceHandle(…)) both sides of the call, but it still looks for the string in the applications resource.

How can I get it so an calls in the DLL’s code to CString::LoadString(nID) load the string from the DLL’s resource table, and any calls in the application’s code load the string from the app’s resource table. Get it?

Any help would be appreciated. I have tried searching my installed MSDN, but nothing came up that I could see to be useful.

Cheers,

James Millson
GeneralRe: Help - CString::LoadString(nID) is using the wrong resource handle! Pin
Chris Losinger30-Jun-01 8:19
professionalChris Losinger30-Jun-01 8:19 
GeneralRe: Help - CString::LoadString(nID) is using the wrong resource handle! Pin
James Millson30-Jun-01 14:53
James Millson30-Jun-01 14:53 
GeneralSimple ActiveX question ... Pin
Hadi Rezaee30-Jun-01 7:03
Hadi Rezaee30-Jun-01 7:03 
GeneralDLL IsWindow assert Pin
Peter Marino30-Jun-01 6:58
Peter Marino30-Jun-01 6:58 
GeneralRe: DLL IsWindow assert Pin
Mike Nordell30-Jun-01 8:02
Mike Nordell30-Jun-01 8:02 
GeneralRe: DLL IsWindow assert Pin
Peter Marino30-Jun-01 8:23
Peter Marino30-Jun-01 8:23 
GeneralScrolling problems Pin
SinclairE30-Jun-01 5:47
SinclairE30-Jun-01 5:47 
GeneralRe: Scrolling problems Pin
Julien1-Jul-01 15:32
Julien1-Jul-01 15:32 
GeneralRe: Scrolling problems Pin
SinclairE3-Jul-01 6:57
SinclairE3-Jul-01 6:57 
GeneralGDI painting on top of all other's control Pin
30-Jun-01 3:21
suss30-Jun-01 3:21 
QuestionIs it Possible to do graphics in Console Window? Pin
Sangeetha30-Jun-01 1:54
Sangeetha30-Jun-01 1:54 
AnswerRe: Is it Possible to do graphics in Console Window? Pin
Hadi Rezaee30-Jun-01 6:57
Hadi Rezaee30-Jun-01 6:57 
GeneralRe: Is it Possible to do graphics in Console Window? Pin
Chris Losinger30-Jun-01 7:38
professionalChris Losinger30-Jun-01 7:38 
GeneralWTL and Splitters Pin
Alpesh30-Jun-01 0:53
Alpesh30-Jun-01 0:53 
GeneralProgrammatically sending mails Pin
Vikash Dubey30-Jun-01 0:17
Vikash Dubey30-Jun-01 0:17 
GeneralRe: Programmatically sending mails Pin
Alpesh30-Jun-01 0:57
Alpesh30-Jun-01 0:57 
GeneralRe: Programmatically sending mails Pin
NullStream30-Jun-01 21:52
NullStream30-Jun-01 21:52 

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.