Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Folder size in VC++ dialog based application. Pin
David Crow14-Mar-08 3:01
David Crow14-Mar-08 3:01 
GeneralRe: Folder size in VC++ dialog based application. Pin
sushildaga198415-Mar-08 1:41
sushildaga198415-Mar-08 1:41 
GeneralRe: Folder size in VC++ dialog based application. Pin
David Crow15-Mar-08 4:21
David Crow15-Mar-08 4:21 
Generalabout BSTR TYPE variables Pin
savitri13-Mar-08 23:25
savitri13-Mar-08 23:25 
GeneralRe: about BSTR TYPE variables Pin
Rajkumar R13-Mar-08 23:43
Rajkumar R13-Mar-08 23:43 
GeneralRe: about BSTR TYPE variables Pin
CPallini13-Mar-08 23:49
mveCPallini13-Mar-08 23:49 
GeneralRe: about BSTR TYPE variables Pin
savitri14-Mar-08 0:47
savitri14-Mar-08 0:47 
QuestionRe: about BSTR TYPE variables Pin
CPallini14-Mar-08 1:01
mveCPallini14-Mar-08 1:01 
Why don't you edit the generated code and change LPCSTR to CString (both in function declaration and definition)?
To set the last parameter as optional, assign it in the declaration, for instance:

function declaration (header file)
int foo( int i, bool f, CString szMsg = _T("Hi"));

function definition (source file)
int foo( int i, bool f, CString szMsg /* =_T("Hi") */)
{
//...
}

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


GeneralRe: about BSTR TYPE variables Pin
savitri14-Mar-08 1:14
savitri14-Mar-08 1:14 
GeneralRe: about BSTR TYPE variables Pin
CPallini14-Mar-08 1:18
mveCPallini14-Mar-08 1:18 
QuestionHow to make shortcut of a file Pin
neha.agarwal2713-Mar-08 23:18
neha.agarwal2713-Mar-08 23:18 
AnswerRe: How to make shortcut of a file Pin
Rajkumar R13-Mar-08 23:39
Rajkumar R13-Mar-08 23:39 
AnswerRe: How to make shortcut of a file Pin
ThatsAlok14-Mar-08 1:36
ThatsAlok14-Mar-08 1:36 
Generalcustom control not displaying Pin
Chandrasekharan P13-Mar-08 21:44
Chandrasekharan P13-Mar-08 21:44 
GeneralRe: custom control not displaying Pin
Cedric Moonen13-Mar-08 22:14
Cedric Moonen13-Mar-08 22:14 
GeneralRe: custom control not displaying Pin
Chandrasekharan P14-Mar-08 0:16
Chandrasekharan P14-Mar-08 0:16 
GeneralRe: custom control not displaying Pin
Iain Clarke, Warrior Programmer14-Mar-08 0:31
Iain Clarke, Warrior Programmer14-Mar-08 0:31 
GeneralRe: custom control not displaying Pin
Chandrasekharan P14-Mar-08 1:34
Chandrasekharan P14-Mar-08 1:34 
GeneralRe: custom control not displaying Pin
Iain Clarke, Warrior Programmer14-Mar-08 2:24
Iain Clarke, Warrior Programmer14-Mar-08 2:24 
GeneralRe: custom control not displaying Pin
Chandrasekharan P16-Mar-08 19:29
Chandrasekharan P16-Mar-08 19:29 
GeneralRe: custom control not displaying Pin
Chandrasekharan P16-Mar-08 20:11
Chandrasekharan P16-Mar-08 20:11 
GeneralRe: custom control not displaying Pin
Iain Clarke, Warrior Programmer17-Mar-08 5:31
Iain Clarke, Warrior Programmer17-Mar-08 5:31 
Generalusing SetTimer with Callback Timerproc Pin
jalsa G13-Mar-08 20:33
jalsa G13-Mar-08 20:33 
GeneralRe: using SetTimer with Callback Timerproc Pin
Rajkumar R13-Mar-08 21:22
Rajkumar R13-Mar-08 21:22 
GeneralRe: using SetTimer with Callback Timerproc Pin
Cedric Moonen13-Mar-08 21:23
Cedric Moonen13-Mar-08 21: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.