Click here to Skip to main content
15,912,578 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Drawing into a dialog box Pin
Steve Mayfield20-Feb-05 13:21
Steve Mayfield20-Feb-05 13:21 
GeneralRe: Drawing into a dialog box Pin
eli1502197920-Feb-05 23:03
eli1502197920-Feb-05 23:03 
GeneralRe: Drawing into a dialog box Pin
JohnCz21-Feb-05 11:58
JohnCz21-Feb-05 11:58 
GeneralTab stop problems Pin
Bi0Mutati0n20-Feb-05 9:33
Bi0Mutati0n20-Feb-05 9:33 
GeneralRe: Tab stop problems Pin
Michael Dunn20-Feb-05 10:44
sitebuilderMichael Dunn20-Feb-05 10:44 
GeneralRe: Tab stop problems Pin
Bi0Mutati0n20-Feb-05 12:25
Bi0Mutati0n20-Feb-05 12:25 
QuestionCan we set a global hook in a COM object? Pin
nadzzz20-Feb-05 7:13
nadzzz20-Feb-05 7:13 
GeneralCreateProcess vs WinExec Pin
Dominik Reichl20-Feb-05 6:55
Dominik Reichl20-Feb-05 6:55 
Hello!

I need to execute the HtmlHelp application with some file and page as parameter. I wanted to use the CreateProcess function for this, but unfortunately cannot get it work.

This works perfectly:
WinExec("hh.exe MyHelpFile.chm::features.html", SW_SHOW);

But this doesn't work:

STARTUPINFO sui;
PROCESS_INFORMATION pi;
ZeroMemory(&sui, sizeof(STARTUPINFO); sui.cb = sizeof(STARTUPINFO);
ZeroMemory(&pi, sizeof(PROCESS_INFORMATION);

CreateProcess("hh.exe", "MyHelpFile.chm::features.html", NULL, NULL, FALSE, 0, NULL, NULL, &sui, &pi);
Anyone knows why the WinExec works, but the CreateProcess doesn't?? Confused | :confused:

Thanks and best regards
Dominik



_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? Wink | ;)
(doesn't work on NT)

GeneralRe: CreateProcess vs WinExec Pin
Neville Franks20-Feb-05 8:38
Neville Franks20-Feb-05 8:38 
GeneralRe: CreateProcess vs WinExec Pin
Dominik Reichl20-Feb-05 9:10
Dominik Reichl20-Feb-05 9:10 
GeneralRe: CreateProcess vs WinExec Pin
Neville Franks20-Feb-05 9:18
Neville Franks20-Feb-05 9:18 
GeneralRe: CreateProcess vs WinExec Pin
Dominik Reichl20-Feb-05 9:26
Dominik Reichl20-Feb-05 9:26 
GeneralRe: CreateProcess vs WinExec Pin
Graham Bradshaw20-Feb-05 10:34
Graham Bradshaw20-Feb-05 10:34 
GeneralRe: CreateProcess vs WinExec Pin
Ryan Binns20-Feb-05 17:03
Ryan Binns20-Feb-05 17:03 
GeneralRe: CreateProcess vs WinExec Pin
Dominik Reichl21-Feb-05 6:59
Dominik Reichl21-Feb-05 6:59 
GeneralRe: CreateProcess vs WinExec Pin
Neville Franks20-Feb-05 12:39
Neville Franks20-Feb-05 12:39 
GeneralRe: CreateProcess vs WinExec Pin
Dominik Reichl21-Feb-05 6:53
Dominik Reichl21-Feb-05 6:53 
GeneralRe: CreateProcess vs WinExec Pin
David Crow21-Feb-05 4:20
David Crow21-Feb-05 4:20 
GeneralRe: CreateProcess vs WinExec Pin
Blake Miller22-Feb-05 6:46
Blake Miller22-Feb-05 6:46 
GeneralRe: CreateProcess vs WinExec Pin
Dominik Reichl22-Feb-05 8:25
Dominik Reichl22-Feb-05 8:25 
GeneralMinimize event Pin
Deian20-Feb-05 6:13
Deian20-Feb-05 6:13 
GeneralRe: Minimize event Pin
Dominik Reichl20-Feb-05 6:57
Dominik Reichl20-Feb-05 6:57 
GeneralRe: Minimize event Pin
Deian20-Feb-05 7:07
Deian20-Feb-05 7:07 
Questiondelay() function equivalent in VC++ 6.0 -- is there any? Pin
ur_unholyness20-Feb-05 2:42
ur_unholyness20-Feb-05 2:42 
AnswerRe: delay() function equivalent in VC++ 6.0 -- is there any? Pin
eli1502197920-Feb-05 3:57
eli1502197920-Feb-05 3:57 

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.