Click here to Skip to main content
15,908,841 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow the CComBSTR know which String to pick . Pin
pandit8411-May-10 20:28
pandit8411-May-10 20:28 
Hi
I am using a CComBSTR object.
CComBSTR bstrText;
     bstrText.LoadString( MyStringID);


How do the object know that it has to pick up the string ID 'MyStringID' from XMLResource as we are not passing any Registry Key info to it.

Thanks in advance.
AnswerRe: How the CComBSTR know which String to pick . Pin
Richard MacCutchan11-May-10 22:21
mveRichard MacCutchan11-May-10 22:21 
GeneralRe: How the CComBSTR know which String to pick . Pin
pandit8412-May-10 0:55
pandit8412-May-10 0:55 
QuestionCreateFileMapping(...) is failed for Windows 7 Version and Windows Vista Pin
janaswamy uday11-May-10 18:57
janaswamy uday11-May-10 18:57 
AnswerRe: CreateFileMapping(...) is failed for Windows 7 Version and Windows Vista Pin
Michel Godfroid11-May-10 23:46
Michel Godfroid11-May-10 23:46 
GeneralRe: CreateFileMapping(...) is failed for Windows 7 Version and Windows Vista Pin
janaswamy uday12-May-10 2:37
janaswamy uday12-May-10 2:37 
GeneralRe: CreateFileMapping(...) is failed for Windows 7 Version and Windows Vista Pin
Michel Godfroid12-May-10 2:49
Michel Godfroid12-May-10 2:49 
QuestionIs there any way to generate ON_WM_SETCURSOR besides mouse movements Pin
ForNow11-May-10 18:02
ForNow11-May-10 18:02 
QuestionRe: Is there any way to generate ON_WM_SETCURSOR besides mouse movements Pin
sashoalm11-May-10 22:44
sashoalm11-May-10 22:44 
AnswerRe: Is there any way to generate ON_WM_SETCURSOR besides mouse movements Pin
ForNow12-May-10 6:15
ForNow12-May-10 6:15 
QuestionUse of extern "C" in class template Pin
ggoutam711-May-10 16:18
ggoutam711-May-10 16:18 
AnswerRe: Use of extern "C" in class template Pin
«_Superman_»11-May-10 17:14
professional«_Superman_»11-May-10 17:14 
AnswerRe: Use of extern "C" in class template Pin
Stephen Hewitt11-May-10 17:32
Stephen Hewitt11-May-10 17:32 
AnswerRe: Use of extern "C" in class template Pin
ggoutam711-May-10 18:24
ggoutam711-May-10 18:24 
AnswerRe: Try ifdef __cplusplus Pin
Software_Developer11-May-10 19:01
Software_Developer11-May-10 19:01 
AnswerRe: Use of extern "C" in class template Pin
ggoutam711-May-10 21:27
ggoutam711-May-10 21:27 
Questionhow to send data to multiple clients from single server mfc or winsock Pin
sravu2511-May-10 15:59
sravu2511-May-10 15:59 
AnswerRe: how to send data to multiple clients from single server mfc or winsock Pin
hanq_3891013011-May-10 16:42
hanq_3891013011-May-10 16:42 
GeneralRe: how to send data to multiple clients from single server mfc or winsock Pin
sravu2511-May-10 22:41
sravu2511-May-10 22:41 
AnswerRe: how to send data to multiple clients from single server mfc or winsock Pin
«_Superman_»11-May-10 17:16
professional«_Superman_»11-May-10 17:16 
QuestionHow you will define the structure model of Sigmund Freud "Id, ego, and super-ego" in C ? :) Pin
phicho11-May-10 10:40
phicho11-May-10 10:40 
AnswerRe: How you will define the structure model of Sigmund Freud "Id, ego, and super-ego" in C ? :) Pin
Richard MacCutchan11-May-10 11:29
mveRichard MacCutchan11-May-10 11:29 
AnswerRe: How you will define the structure model of Sigmund Freud "Id, ego, and super-ego" in C ? :) Pin
CPallini11-May-10 11:30
mveCPallini11-May-10 11:30 
AnswerRe: How you will define the structure model of Sigmund Freud "Id, ego, and super-ego" in C ? :) Pin
phicho11-May-10 18:21
phicho11-May-10 18:21 
GeneralRe: How you will define the structure model of Sigmund Freud "Id, ego, and super-ego" in C ? :) Pin
Richard MacCutchan11-May-10 22:10
mveRichard MacCutchan11-May-10 22:10 

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.