S
Stefano
I have a couple of lines of a program that are making me mad.
My intention is to run Internet Explorer in background.
#include <windows.h>
#include <stdio.h>
int main ()
{
char* strFunct = "c:\\Progra~1\\Intern~1\\iexplore.exe";
WinExec(strFunct,SW_HIDE);
return 1;
}
I can see the process iexplore.exe running with Task Manager, but after
5 -10 minutes the process is halted by the system apparently without any
reason. Same thing using CreateProcess instead of WinExec.
The problem seems to be the use of SW_HIDE with iexplore, because using
instead SW_SHOW the process never stops.
Is there somebody that can help me ?
The program is running under Windows 2000, the compiler is Visual C++ 4.0
and Explorer 6.0.
Thank you very much.
Stefano
My intention is to run Internet Explorer in background.
#include <windows.h>
#include <stdio.h>
int main ()
{
char* strFunct = "c:\\Progra~1\\Intern~1\\iexplore.exe";
WinExec(strFunct,SW_HIDE);
return 1;
}
I can see the process iexplore.exe running with Task Manager, but after
5 -10 minutes the process is halted by the system apparently without any
reason. Same thing using CreateProcess instead of WinExec.
The problem seems to be the use of SW_HIDE with iexplore, because using
instead SW_SHOW the process never stops.
Is there somebody that can help me ?
The program is running under Windows 2000, the compiler is Visual C++ 4.0
and Explorer 6.0.
Thank you very much.
Stefano