Click here to Skip to main content
15,909,898 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error at compiling virtual function call in constructor Pin
Nemanja Trifunovic10-Mar-04 6:23
Nemanja Trifunovic10-Mar-04 6:23 
GeneralRe: Error at compiling virtual function call in constructor Pin
Tomasz Sowinski11-Mar-04 2:47
Tomasz Sowinski11-Mar-04 2:47 
GeneralInvertRect Pin
Anthony988710-Mar-04 3:50
Anthony988710-Mar-04 3:50 
GeneralBSTR Problem Pin
Nick Parker10-Mar-04 3:34
protectorNick Parker10-Mar-04 3:34 
GeneralRe: BSTR Problem Pin
David Crow10-Mar-04 3:39
David Crow10-Mar-04 3:39 
GeneralRe: BSTR Problem Pin
Nick Parker10-Mar-04 3:49
protectorNick Parker10-Mar-04 3:49 
GeneralRe: BSTR Problem Pin
toxcct10-Mar-04 3:40
toxcct10-Mar-04 3:40 
GeneralRe: BSTR Problem Pin
Michael Dunn10-Mar-04 4:03
sitebuilderMichael Dunn10-Mar-04 4:03 
Nick Parker wrote:
val = (LPCTSTR)dir;

That's the bug. A BSTR points to a Unicode string, not a TCHAR string. Change it to:
val = (LPCWSTR)dir;


--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ

----
I even hear the Windows "OMG I booted up fine" sound.
  -- Paul Watson diagnosing hardware problems.

GeneralRe: BSTR Problem Pin
Nick Parker10-Mar-04 4:07
protectorNick Parker10-Mar-04 4:07 
GeneralRe: BSTR Problem Pin
Prakash Nadar10-Mar-04 5:09
Prakash Nadar10-Mar-04 5:09 
GeneralRe: BSTR Problem Pin
Michael Dunn10-Mar-04 6:35
sitebuilderMichael Dunn10-Mar-04 6:35 
GeneralProblem when adding two wave files Pin
Member 95034310-Mar-04 3:26
Member 95034310-Mar-04 3:26 
Questionwhat does (CeditStr *) in (CeditStr *)Variable.funcition do?? Pin
BrockVnm10-Mar-04 3:20
BrockVnm10-Mar-04 3:20 
AnswerRe: what does (CeditStr *) in (CeditStr *)Variable.funcition do?? Pin
toxcct10-Mar-04 3:27
toxcct10-Mar-04 3:27 
AnswerRe: what does (CeditStr *) in (CeditStr *)Variable.funcition do?? Pin
David Crow10-Mar-04 3:28
David Crow10-Mar-04 3:28 
GeneralRe: what does (CeditStr *) in (CeditStr *)Variable.funcition do?? Pin
BrockVnm10-Mar-04 4:28
BrockVnm10-Mar-04 4:28 
GeneralRe: what does (CeditStr *) in (CeditStr *)Variable.funcition do?? Pin
David Crow10-Mar-04 4:43
David Crow10-Mar-04 4:43 
GeneralRe: what does (CeditStr *) in (CeditStr *)Variable.funcition do?? Pin
BrockVnm10-Mar-04 4:56
BrockVnm10-Mar-04 4:56 
GeneralRe: what does (CeditStr *) in (CeditStr *)Variable.funcition do?? Pin
David Crow10-Mar-04 5:15
David Crow10-Mar-04 5:15 
GeneralRe: what does (CeditStr *) in (CeditStr *)Variable.funcition do?? Pin
Prakash Nadar10-Mar-04 6:27
Prakash Nadar10-Mar-04 6:27 
Generaltypedef struct <-> struct Pin
Konrad Windszus10-Mar-04 3:03
Konrad Windszus10-Mar-04 3:03 
GeneralRe: typedef struct <-> struct Pin
toxcct10-Mar-04 3:11
toxcct10-Mar-04 3:11 
GeneralRe: typedef struct <-> struct Pin
Robert A. T. Káldy11-Mar-04 1:44
Robert A. T. Káldy11-Mar-04 1:44 
GeneralProblem with popup menus Pin
amit sebiz10-Mar-04 1:34
amit sebiz10-Mar-04 1:34 
GeneralRe: Problem with popup menus Pin
Vahid Kazemi10-Mar-04 6:03
Vahid Kazemi10-Mar-04 6:03 

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.