Click here to Skip to main content
15,064,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Navigate function of a CWebBrowser class Pin
bhogavalli suresh18-Sep-07 23:14
Memberbhogavalli suresh18-Sep-07 23:14 
GeneralRe: Navigate function of a CWebBrowser class Pin
AnayKulkarni19-Sep-07 0:31
MemberAnayKulkarni19-Sep-07 0:31 
AnswerRe: Navigate function of a CWebBrowser class Pin
Sameerkumar Namdeo18-Sep-07 21:31
MemberSameerkumar Namdeo18-Sep-07 21:31 
QuestionBasic issue i got confused help Pin
monsieur_jj18-Sep-07 19:46
Membermonsieur_jj18-Sep-07 19:46 
AnswerRe: Basic issue i got confused help Pin
nbugalia18-Sep-07 20:06
Membernbugalia18-Sep-07 20:06 
GeneralRe: Basic issue i got confused help Pin
monsieur_jj18-Sep-07 20:11
Membermonsieur_jj18-Sep-07 20:11 
GeneralRe: Basic issue i got confused help Pin
monsieur_jj18-Sep-07 20:42
Membermonsieur_jj18-Sep-07 20:42 
AnswerRe: Basic issue i got confused help Pin
carrivick18-Sep-07 21:43
Membercarrivick18-Sep-07 21:43 
monsieur_jj wrote:
pRetVal = reinterpret_cast(prop.first.lpszW);


This is the line which is in error. Because you are performing a reinterpret_cast it will copy the pointer value but not correctly create the rest of the BSTR class, notably the length which occurs before the string array.

My solution would be to change the return type to the WIDE CHAR type the same as lpszW.
Questionrealloc() crashed!!! help Pin
kcynic18-Sep-07 19:45
Memberkcynic18-Sep-07 19:45 
AnswerRe: realloc() crashed!!! help Pin
KarstenK18-Sep-07 21:25
mveKarstenK18-Sep-07 21:25 
GeneralRe: realloc() crashed!!! help Pin
kcynic18-Sep-07 22:28
Memberkcynic18-Sep-07 22:28 
AnswerRe: realloc() crashed!!! help Pin
toxcct18-Sep-07 23:46
Membertoxcct18-Sep-07 23:46 
Questionwant to develop desktop application like webshot Pin
Dhiraj kumar Saini18-Sep-07 19:45
MemberDhiraj kumar Saini18-Sep-07 19:45 
Questionopen word from button control Pin
p_18-Sep-07 19:43
Memberp_18-Sep-07 19:43 
AnswerRe: open word from button control Pin
Dhiraj kumar Saini18-Sep-07 19:55
MemberDhiraj kumar Saini18-Sep-07 19:55 
AnswerRe: open word from button control Pin
nbugalia18-Sep-07 19:55
Membernbugalia18-Sep-07 19:55 
AnswerRe: open word from button control Pin
p_18-Sep-07 20:01
Memberp_18-Sep-07 20:01 
QuestionFolder Option Pin
Anilkumar K V18-Sep-07 19:26
MemberAnilkumar K V18-Sep-07 19:26 
AnswerRe: Folder Option Pin
nbugalia18-Sep-07 19:34
Membernbugalia18-Sep-07 19:34 
QuestionControls visibility issue Pin
neil478118-Sep-07 12:34
Memberneil478118-Sep-07 12:34 
QuestionRe: Controls visibility issue Pin
Mark Salsbery18-Sep-07 14:03
MemberMark Salsbery18-Sep-07 14:03 
AnswerRe: Controls visibility issue Pin
neil478118-Sep-07 17:18
Memberneil478118-Sep-07 17:18 
GeneralRe: Controls visibility issue Pin
p_18-Sep-07 18:11
Memberp_18-Sep-07 18:11 
AnswerRe: Controls visibility issue Pin
Nishad S18-Sep-07 18:44
MemberNishad S18-Sep-07 18:44 
GeneralRe: Controls visibility issue Pin
neil478118-Sep-07 19:23
Memberneil478118-Sep-07 19:23 

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.