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

C / C++ / MFC

 
GeneralRe: How to code a skinned UI like in Windows Media Player? Pin
Tim De Baets13-Jul-10 4:00
Tim De Baets13-Jul-10 4:00 
GeneralRe: How to code a skinned UI like in Windows Media Player? Pin
Tim De Baets13-Jul-10 4:35
Tim De Baets13-Jul-10 4:35 
GeneralRe: How to code a skinned UI like in Windows Media Player? Pin
Richard MacCutchan13-Jul-10 5:50
mveRichard MacCutchan13-Jul-10 5:50 
GeneralRe: How to code a skinned UI like in Windows Media Player? Pin
hypheni13-Jul-10 8:24
hypheni13-Jul-10 8:24 
GeneralRe: How to code a skinned UI like in Windows Media Player? Pin
Richard MacCutchan13-Jul-10 21:45
mveRichard MacCutchan13-Jul-10 21:45 
GeneralRe: How to code a skinned UI like in Windows Media Player? Pin
Tim De Baets14-Jul-10 2:00
Tim De Baets14-Jul-10 2:00 
QuestionVisual C++ 2010 - 2008 Feature Pack Documentation Pin
bob1697212-Jul-10 5:11
bob1697212-Jul-10 5:11 
QuestionGettign value from console to MFC Pin
Anu_Bala12-Jul-10 2:19
Anu_Bala12-Jul-10 2:19 
Hi, In my MFC application,im invoking one console application,using ShellExecuteEx() and im passing value like "MODEL" to that console application and im receiving this string using argv[] in console application.
Like the same way, i want to receive one string from console applciation to MFC.
How can i do that?Pls help me..

char szFile[20]={0},szDir[500]={0};
	memset(szFile,0,20);
	memset(szDir,0,500);
	strcpy(szFile,szModelName);
	strcat(szFile,".EXE"); 
	sInfo.lpFile = szFile; 
	sInfo.hwnd = NULL;//this;
	sInfo.lpParameters ="MODEL";
	strcat(szDir,"\\Sources\\");
	sInfo.lpDirectory = szDir;
	sInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
	sInfo.cbSize = sizeof(SHELLEXECUTEINFO);
	sInfo.lpVerb = "open";
	sInfo.nShow  =  SW_HIDE;
	sInfo.hwnd   =  NULL;	
	BOOL bFlag = ShellExecuteEx(&sInfo);



Console application coding
int main( int argc , char *argv[] )
{
	char str[50];
	strcpy(str,argv[1]);
	getch();		
}

Anu

AnswerRe: Gettign value from console to MFC Pin
Rajesh R Subramanian12-Jul-10 3:46
professionalRajesh R Subramanian12-Jul-10 3:46 
QuestionCLineTracker and CRectTracker project arhitecture Pin
mesajflaviu12-Jul-10 1:48
mesajflaviu12-Jul-10 1:48 
QuestionHow to use arthimetic operation Pin
raju_shiva12-Jul-10 1:02
raju_shiva12-Jul-10 1:02 
AnswerRe: How to use arthimetic operation Pin
Aescleal12-Jul-10 1:26
Aescleal12-Jul-10 1:26 
AnswerRe: How to use arthimetic operation Pin
Cedric Moonen12-Jul-10 1:30
Cedric Moonen12-Jul-10 1:30 
GeneralRe: How to use arthimetic operation Pin
raju_shiva12-Jul-10 1:46
raju_shiva12-Jul-10 1:46 
GeneralRe: How to use arthimetic operation Pin
Cedric Moonen12-Jul-10 2:00
Cedric Moonen12-Jul-10 2:00 
GeneralRe: How to use arthimetic operation Pin
raju_shiva12-Jul-10 2:23
raju_shiva12-Jul-10 2:23 
GeneralRe: How to use arthimetic operation Pin
Cedric Moonen12-Jul-10 2:26
Cedric Moonen12-Jul-10 2:26 
AnswerRe: How to use arthimetic operation Pin
Maximilien12-Jul-10 1:31
Maximilien12-Jul-10 1:31 
QuestionFCB and BIOS file operations Pin
Jayapal Chandran12-Jul-10 0:28
Jayapal Chandran12-Jul-10 0:28 
AnswerRe: FCB and BIOS file operations Pin
Code-o-mat12-Jul-10 0:49
Code-o-mat12-Jul-10 0:49 
AnswerRe: FCB and BIOS file operations Pin
Aescleal12-Jul-10 1:09
Aescleal12-Jul-10 1:09 
GeneralRe: FCB and BIOS file operations Pin
Jayapal Chandran12-Jul-10 1:40
Jayapal Chandran12-Jul-10 1:40 
QuestionHow to solve this error information: "_WIN32_WINNT settings conflicts with _WIN32_IE setting" ?? Pin
wangningyu11-Jul-10 23:35
wangningyu11-Jul-10 23:35 
AnswerRe: How to solve this error information: "_WIN32_WINNT settings conflicts with _WIN32_IE setting" ?? Pin
Emilio Garavaglia12-Jul-10 0:02
Emilio Garavaglia12-Jul-10 0:02 
GeneralYes ,you're right ! Pin
wangningyu12-Jul-10 0:14
wangningyu12-Jul-10 0:14 

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.