Click here to Skip to main content
15,888,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
David Crow25-Feb-05 2:23
David Crow25-Feb-05 2:23 
GeneralRe: populating a CListCtrl which is inside a Dialog Pin
Aamir Butt27-Feb-05 18:07
Aamir Butt27-Feb-05 18:07 
GeneralOwner Draw Menus without MFC Pin
r3dqu33n24-Feb-05 7:53
r3dqu33n24-Feb-05 7:53 
GeneralRe: Owner Draw Menus without MFC Pin
PJ Arends24-Feb-05 16:52
professionalPJ Arends24-Feb-05 16:52 
GeneralReally Tricky situation with ODBC and FlexGrids Pin
ur_unholyness24-Feb-05 6:53
ur_unholyness24-Feb-05 6:53 
GeneralUnicode in CCommandLineInfo Pin
Konrad Windszus24-Feb-05 6:18
Konrad Windszus24-Feb-05 6:18 
GeneralRe: Unicode in CCommandLineInfo Pin
PJ Arends24-Feb-05 8:06
professionalPJ Arends24-Feb-05 8:06 
GeneralRe: Unicode in CCommandLineInfo Pin
Konrad Windszus24-Feb-05 10:26
Konrad Windszus24-Feb-05 10:26 
Thank you very much. That would be an explanation, but obviously it is not right. If you have a look at the code of CWinApp

void CWinApp::ParseCommandLine(CCommandLineInfo& rCmdInfo)<br />
{<br />
	for (int i = 1; i < __argc; i++)<br />
	{<br />
		LPCTSTR pszParam = __targv[i];<br />
		BOOL bFlag = FALSE;<br />
		BOOL bLast = ((i + 1) == __argc);<br />
		if (pszParam[0] == '-' || pszParam[0] == '/')<br />
		{<br />
			// remove flag specifier<br />
			bFlag = TRUE;<br />
			++pszParam;<br />
		}<br />
		rCmdInfo.ParseParam(pszParam, bFlag, bLast);<br />
	}<br />
}


Here you can see that the parameter is wchar_t* for Unicode and char* for multibyte as parameter. So in every condition the TCHAR variant gets called! Do you have any explanation for this.
Regards
Konrad
GeneralWMI Blues Pin
newbee7824-Feb-05 4:39
newbee7824-Feb-05 4:39 
GeneralVcWizCtl Pin
mikeh24-Feb-05 2:54
mikeh24-Feb-05 2:54 
GeneralPackaging &amp; Deploying C++ Application Pin
clav24-Feb-05 2:38
clav24-Feb-05 2:38 
GeneralRe: Packaging &amp; Deploying C++ Application Pin
Ravi Bhavnani24-Feb-05 3:05
professionalRavi Bhavnani24-Feb-05 3:05 
GeneralRe: Packaging &amp; Deploying C++ Application Pin
clav24-Feb-05 3:55
clav24-Feb-05 3:55 
GeneralRe: Packaging &amp; Deploying C++ Application Pin
Ravi Bhavnani24-Feb-05 5:20
professionalRavi Bhavnani24-Feb-05 5:20 
GeneralRe: Packaging &amp; Deploying C++ Application Pin
r3dqu33n24-Feb-05 7:57
r3dqu33n24-Feb-05 7:57 
GeneralChanging HeaderTitle/HeaderSubTitle in Wizard97 Pin
User 2237024-Feb-05 1:36
User 2237024-Feb-05 1:36 
GeneralRe: Changing HeaderTitle/HeaderSubTitle in Wizard97 Pin
Blake Miller24-Feb-05 6:01
Blake Miller24-Feb-05 6:01 
GeneralRe: Changing HeaderTitle/HeaderSubTitle in Wizard97 Pin
ThatsAlok24-Feb-05 17:16
ThatsAlok24-Feb-05 17:16 
GeneralSet view regions for controls Pin
Rahim Rattani24-Feb-05 1:06
Rahim Rattani24-Feb-05 1:06 
QuestionCOlePropertyPage or Dialog Box? Pin
Anand for every one24-Feb-05 0:47
Anand for every one24-Feb-05 0:47 
GeneralProxy information Pin
Geert van Horrik23-Feb-05 23:29
Geert van Horrik23-Feb-05 23:29 
GeneralActive Document Pin
Pauwl23-Feb-05 21:23
Pauwl23-Feb-05 21:23 
QuestionHow to retrieve table name and field name from SQL server database Pin
reenacutie23-Feb-05 19:18
reenacutie23-Feb-05 19:18 
AnswerRe: How to retrieve table name and field name from SQL server database Pin
David Crow24-Feb-05 3:38
David Crow24-Feb-05 3:38 
AnswerRe: How to retrieve table name and field name from SQL server database Pin
RChin24-Feb-05 5:04
RChin24-Feb-05 5:04 

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.