Click here to Skip to main content
15,894,132 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionFew doubts in MFC application?? Pin
kapardhi24-Feb-09 23:22
kapardhi24-Feb-09 23:22 
AnswerRe: Few doubts in MFC application?? Pin
Iain Clarke, Warrior Programmer24-Feb-09 23:45
Iain Clarke, Warrior Programmer24-Feb-09 23:45 
QuestionCreateProcess in WinCE Pin
vijaywithu24-Feb-09 22:48
vijaywithu24-Feb-09 22:48 
AnswerRe: CreateProcess in WinCE Pin
Sethuraman.K24-Feb-09 23:33
Sethuraman.K24-Feb-09 23:33 
GeneralRe: CreateProcess in WinCE Pin
Sethuraman.K24-Feb-09 23:49
Sethuraman.K24-Feb-09 23:49 
GeneralRe: CreateProcess in WinCE Pin
vijaywithu24-Feb-09 23:50
vijaywithu24-Feb-09 23:50 
GeneralRe: CreateProcess in WinCE Pin
Sethuraman.K25-Feb-09 0:07
Sethuraman.K25-Feb-09 0:07 
GeneralRe: CreateProcess in WinCE Pin
Sethuraman.K25-Feb-09 0:31
Sethuraman.K25-Feb-09 0:31 
Just try this:
HWND hwnd;
STARTUPINFO si;
ZeroMemory( &si, sizeof(si) );
si.cb = sizeof(si);

PROCESS_INFORMATION pi;
ZeroMemory( &pi, sizeof(pi) );

if( !CreateProcess(NULL,
"C:\\Program Files\\Windows Media Player\\wmplayer.exe",
NULL,
NULL,
FALSE,
CREATE_SUSPENDED,
NULL,
NULL,
&si,
&pi ) )
{

TRACE("CreateProcess failed");

}
else
{
TRACE("CreateProcess sucess");
}

hwnd = (HWND)pi.hProcess;
ShellExecute(hwnd, "open", "d:\\del\\Dancingbaby.avi", NULL, NULL, SW_SHOWNORMAL);
TRACE("sucess");

Sethuraman.K

GeneralRe: CreateProcess in WinCE Pin
ujjawal kumar25-Feb-09 20:13
ujjawal kumar25-Feb-09 20:13 
QuestionAny one can help me with these code Pin
Archy_Yu24-Feb-09 21:27
Archy_Yu24-Feb-09 21:27 
AnswerRe: Any one can help me with these code Pin
ashtwin24-Feb-09 21:35
ashtwin24-Feb-09 21:35 
AnswerRe: Any one can help me with these code Pin
Sethuraman.K24-Feb-09 23:25
Sethuraman.K24-Feb-09 23:25 
GeneralRe: Any one can help me with these code Pin
Iain Clarke, Warrior Programmer24-Feb-09 23:51
Iain Clarke, Warrior Programmer24-Feb-09 23:51 
GeneralRe: Any one can help me with these code Pin
CPallini25-Feb-09 0:38
mveCPallini25-Feb-09 0:38 
QuestionHow can stop highligting button control? Pin
Le@rner24-Feb-09 20:34
Le@rner24-Feb-09 20:34 
AnswerRe: How can stop highligting button control? Pin
Iain Clarke, Warrior Programmer24-Feb-09 21:59
Iain Clarke, Warrior Programmer24-Feb-09 21:59 
AnswerRe: How can stop highligting button control? Pin
Hamid_RT24-Feb-09 22:16
Hamid_RT24-Feb-09 22:16 
GeneralRe: How can stop highligting button control? Pin
Le@rner24-Feb-09 22:18
Le@rner24-Feb-09 22:18 
GeneralRe: How can stop highligting button control? Pin
Hamid_RT24-Feb-09 22:22
Hamid_RT24-Feb-09 22:22 
QuestionHow to get function name? Pin
hanlei000000000924-Feb-09 20:05
hanlei000000000924-Feb-09 20:05 
AnswerRe: How to get current function name? Pin
«_Superman_»24-Feb-09 20:20
professional«_Superman_»24-Feb-09 20:20 
GeneralRe: How to get current function name? Pin
Iain Clarke, Warrior Programmer24-Feb-09 22:00
Iain Clarke, Warrior Programmer24-Feb-09 22:00 
GeneralRe: How to get current function name? Pin
Hamid_RT24-Feb-09 22:17
Hamid_RT24-Feb-09 22:17 
GeneralRe: How to get current function name? Pin
CPallini24-Feb-09 22:16
mveCPallini24-Feb-09 22:16 
AnswerRe: How to get function name? Pin
Code-o-mat25-Feb-09 0:42
Code-o-mat25-Feb-09 0:42 

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.