Click here to Skip to main content
16,007,779 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Monitoring a Temperature/C++ Pin
Joaquín M López Muñoz21-Oct-02 10:06
Joaquín M López Muñoz21-Oct-02 10:06 
GeneralMonitoring a Temperature Value using C++ Pin
LostInC++21-Oct-02 9:47
LostInC++21-Oct-02 9:47 
GeneralRe: Monitoring a Temperature Value using C++ Pin
LostInC++21-Oct-02 10:48
LostInC++21-Oct-02 10:48 
GeneralCustom draw a CTreeCtrl View Pin
Anonymous21-Oct-02 9:44
Anonymous21-Oct-02 9:44 
GeneralIs there a function for determining the number of sub items? Pin
21-Oct-02 10:50
suss21-Oct-02 10:50 
QuestionCreateProcess Window Closes When Program Exits, WHY? Pin
mediamaster4021-Oct-02 9:44
mediamaster4021-Oct-02 9:44 
AnswerRe: CreateProcess Window Closes When Program Exits, WHY? Pin
Mike Nordell21-Oct-02 21:13
Mike Nordell21-Oct-02 21:13 
GeneralRe: CreateProcess Window Closes When Program Exits, WHY? Pin
mediamaster4022-Oct-02 10:23
mediamaster4022-Oct-02 10:23 
Yes I am sure IE is not runnning, when the saver exits, the IE process is spawned and you see it in the task manager for a second, then you see the browser pop up and go to the page, then my saver cleans up and exits, then the system kills the IE process.

Thanks for the tip, but I have already tried using "winsta0\\default" and it didn't do anything.

Here is the code I am using:

PROCESS_INFORMATION ProcessInfo; //This is what we get as an [out] parameter
STARTUPINFO StartupInfo; //This is an [in] parameter
ZeroMemory(&StartupInfo, sizeof(StartupInfo));
StartupInfo.cb = sizeof StartupInfo ; //Only compulsory field
if(CreateProcess(NULL, cmdLine, NULL,NULL,FALSE,0,NULL,NULL,&StartupInfo,&ProcessInfo))
{
CloseHandle(ProcessInfo.hThread);
CloseHandle(ProcessInfo.hProcess);
return true;
}
else
{
MessageBox(NULL, errorString, "Error Opening Web Browser", MB_OK);
return false;
}
GeneralRelease program copy Pin
Brad Jennings21-Oct-02 9:29
Brad Jennings21-Oct-02 9:29 
GeneralRe: Release program copy Pin
Joaquín M López Muñoz21-Oct-02 9:34
Joaquín M López Muñoz21-Oct-02 9:34 
GeneralRe: Release program copy Pin
Brad Jennings21-Oct-02 10:09
Brad Jennings21-Oct-02 10:09 
GeneralRe: Release program copy Pin
Brad Jennings21-Oct-02 10:14
Brad Jennings21-Oct-02 10:14 
GeneralRe: Release program copy Pin
Joaquín M López Muñoz21-Oct-02 10:14
Joaquín M López Muñoz21-Oct-02 10:14 
GeneralFile Pin
Anonymous21-Oct-02 9:29
Anonymous21-Oct-02 9:29 
GeneralRe: File Pin
Mazdak21-Oct-02 9:43
Mazdak21-Oct-02 9:43 
GeneralRe: File Pin
Anonymous21-Oct-02 9:49
Anonymous21-Oct-02 9:49 
GeneralRe: File Pin
Joaquín M López Muñoz21-Oct-02 9:56
Joaquín M López Muñoz21-Oct-02 9:56 
GeneralPrint Enable Pin
act_x21-Oct-02 9:22
act_x21-Oct-02 9:22 
GeneralStrange... Pin
int01h21-Oct-02 7:56
int01h21-Oct-02 7:56 
GeneralRe: Strange... Pin
User 665821-Oct-02 8:06
User 665821-Oct-02 8:06 
GeneralRe: Strange... Pin
David Salter21-Oct-02 10:14
David Salter21-Oct-02 10:14 
GeneralMDI window opening Pin
act_x21-Oct-02 7:53
act_x21-Oct-02 7:53 
QuestionHow do i send DWORD with the winsock send function? Pin
Anonymous21-Oct-02 7:07
Anonymous21-Oct-02 7:07 
AnswerRe: How do i send DWORD with the winsock send function? Pin
Ernest Laurentin21-Oct-02 7:40
Ernest Laurentin21-Oct-02 7:40 
Generalprocessor id Pin
slah21-Oct-02 6:05
slah21-Oct-02 6:05 

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.