Click here to Skip to main content
15,881,413 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHelp!!! Pin
jimsleon3-Sep-03 18:54
jimsleon3-Sep-03 18:54 
GeneralRe: Help!!! Pin
Magnus Westin3-Sep-03 21:20
Magnus Westin3-Sep-03 21:20 
GeneralRe: Help!!! Pin
Dudi Avramov4-Sep-03 0:59
Dudi Avramov4-Sep-03 0:59 
GeneralRe: Help!!! Pin
Dudi Avramov3-Sep-03 22:58
Dudi Avramov3-Sep-03 22:58 
Questiondll and installation? Pin
theCapt3-Sep-03 18:12
susstheCapt3-Sep-03 18:12 
QuestionBSTR question? Pin
theCapt3-Sep-03 18:06
susstheCapt3-Sep-03 18:06 
AnswerRe: BSTR question? Pin
TrickyFishy3-Sep-03 18:48
TrickyFishy3-Sep-03 18:48 
AnswerRe: BSTR question? Pin
Braulio Dez3-Sep-03 23:56
Braulio Dez3-Sep-03 23:56 
Hi,

BSTR's are a real nightmare, I think what could work is:

<br />
   m_sLPWSTRString = newVal.Copy();<br />
   // OOps ! Sorry, I think you should call a special function<br />
   // that makes the copy for the BSTR..<br />


( or something ilke that), just forget about handling BSTR, just use "_bstr_t" or "CComBSTR", but take care with that as well..., personally I preffer _bstr_t since it allows you to convert from char * to BSTR, a good working code couldbe

<br />
  _bstr_t m_sLPWSTRString;<br />
  m_sLPWSTRString = newVal;  // It makes a copy for you<br />




Good luck
Braulio
QuestionCFormView + CDialogBar ?????? Pin
kumaru_san3-Sep-03 18:00
kumaru_san3-Sep-03 18:00 
GeneralTTFTODXF Pin
wow99993-Sep-03 17:14
wow99993-Sep-03 17:14 
GeneralRe: TTFTODXF Pin
Iain Clarke, Warrior Programmer3-Sep-03 22:41
Iain Clarke, Warrior Programmer3-Sep-03 22:41 
QuestionHow do i pass data to a view from an independent class? Pin
Member 4048133-Sep-03 15:13
Member 4048133-Sep-03 15:13 
QuestionWhere to put the menu handler in multi-view SDI application? Pin
Binayak3-Sep-03 13:48
Binayak3-Sep-03 13:48 
AnswerRe: Where to put the menu handler in multi-view SDI application? Pin
John M. Drescher3-Sep-03 14:15
John M. Drescher3-Sep-03 14:15 
GeneralRe: Where to put the menu handler in multi-view SDI application? Pin
Binayak3-Sep-03 14:18
Binayak3-Sep-03 14:18 
GeneralRe: Where to put the menu handler in multi-view SDI application? Pin
John M. Drescher3-Sep-03 15:53
John M. Drescher3-Sep-03 15:53 
Generalwhere will I find dbgheap.c etc Pin
Member 5314143-Sep-03 13:45
Member 5314143-Sep-03 13:45 
GeneralRe: where will I find dbgheap.c etc Pin
Brad Sokol3-Sep-03 14:42
Brad Sokol3-Sep-03 14:42 
Generaloutput file in VC++ Pin
mr20033-Sep-03 11:05
mr20033-Sep-03 11:05 
GeneralRe: output file in VC++ Pin
Hosam Aly Mahmoud3-Sep-03 11:37
Hosam Aly Mahmoud3-Sep-03 11:37 
GeneralRe: output file in VC++ Pin
Abin3-Sep-03 22:53
Abin3-Sep-03 22:53 
GeneralHyperlink Pin
Turtle Hand3-Sep-03 10:44
Turtle Hand3-Sep-03 10:44 
GeneralRe: Hyperlink Pin
Jason Henderson3-Sep-03 19:04
Jason Henderson3-Sep-03 19:04 
GeneralRe: Hyperlink Pin
Turtle Hand4-Sep-03 2:21
Turtle Hand4-Sep-03 2:21 
GeneralRe: Hyperlink Pin
Jason Henderson4-Sep-03 2:38
Jason Henderson4-Sep-03 2:38 

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.