Click here to Skip to main content
16,005,734 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can I read an excel file? Pin
jmkhael28-Oct-04 1:02
jmkhael28-Oct-04 1:02 
Generalspecial combobox Pin
mlabidi27-Oct-04 22:45
mlabidi27-Oct-04 22:45 
GeneralProblem with bulk inserts using CRecordset Pin
Yariv27-Oct-04 22:43
Yariv27-Oct-04 22:43 
GeneralYahoo IM. Pin
Member 32233527-Oct-04 22:35
Member 32233527-Oct-04 22:35 
GeneralRe: Yahoo IM. Pin
ThatsAlok27-Oct-04 23:55
ThatsAlok27-Oct-04 23:55 
GeneralRe: Yahoo IM. Pin
Member 32233528-Oct-04 11:05
Member 32233528-Oct-04 11:05 
GeneralRe: Yahoo IM. Pin
ThatsAlok28-Oct-04 23:32
ThatsAlok28-Oct-04 23:32 
GeneralProblem about screen-saver program... Pin
JoeZhang27-Oct-04 21:17
JoeZhang27-Oct-04 21:17 
Hello, buddies,

My program is a Win32 screen-saver program(ie, .SCR file), during its running process, it will launch another Win32 program to do certain things, and after this screen-saver program exits, that Win32 program may pop up a window for showing some information to the user.

Here's my problem: on the WinNT-based platform (WinNT/2K/XP), when the screen-saver is set to be password protected (ie, the user needs to input the password to login the system after the screen-saver exits), the Win32 program which launched by the screen-saver is immediately terminated also when the screen-saver exits, so that Win32 program doesn't have the opportunity to show the information dialog.

It's seem that That Win32 program is terminated by the system when the screen-saver ends, and this's maybe relate to something like "desktop switch", because the password-protected screen-saver is running on the so-called "screen-saver" desktop, and the other program launched by the screen-saver is also running on this desktop, the screen-saver ends, the "screen-saver" desktop disappears, so the other program dies as well...

The above is my opinion for this problem, so I tried to do somethings like switch the desktop in the screen-saver and the other program, but failed, that problem still exists.

So, does anyone can tell me: How to let the another program still run after the password-protected screen-saver ends?

Thanks!


GeneralMultithreaded User Interface Pin
IanAber27-Oct-04 21:15
IanAber27-Oct-04 21:15 
GeneralRe: Multithreaded User Interface Pin
Sujan Christo27-Oct-04 21:46
Sujan Christo27-Oct-04 21:46 
GeneralRe: Multithreaded User Interface Pin
Blake Miller28-Oct-04 7:13
Blake Miller28-Oct-04 7:13 
Generalhoe to hide or close console windows in Win32 console application with MFC support Pin
megiddo27-Oct-04 21:07
megiddo27-Oct-04 21:07 
GeneralRe: hoe to hide or close console windows in Win32 console application with MFC support Pin
Arsalan Malik28-Oct-04 0:16
Arsalan Malik28-Oct-04 0:16 
GeneralRe: hoe to hide or close console windows in Win32 console application with MFC support Pin
David Crow28-Oct-04 4:24
David Crow28-Oct-04 4:24 
GeneralScripting support in C++/MFC apps Pin
Imtiaz Murtaza27-Oct-04 21:05
Imtiaz Murtaza27-Oct-04 21:05 
GeneralRe: Scripting support in C++/MFC apps Pin
IanAber27-Oct-04 21:20
IanAber27-Oct-04 21:20 
GeneralCSocket Connect Issue Pin
randynamics27-Oct-04 19:30
randynamics27-Oct-04 19:30 
GeneralPassing referance and passing pointer Pin
Ranjish27-Oct-04 19:13
Ranjish27-Oct-04 19:13 
GeneralRe: Passing referance and passing pointer Pin
shiraztk27-Oct-04 19:59
shiraztk27-Oct-04 19:59 
GeneralRe: Passing referance and passing pointer Pin
Ryan Binns27-Oct-04 20:17
Ryan Binns27-Oct-04 20:17 
GeneralRe: Passing referance and passing pointer Pin
Ranjish27-Oct-04 21:24
Ranjish27-Oct-04 21:24 
GeneralRe: Passing referance and passing pointer Pin
Ryan Binns28-Oct-04 13:28
Ryan Binns28-Oct-04 13:28 
GeneralRe: Passing referance and passing pointer Pin
Ranjish28-Oct-04 18:15
Ranjish28-Oct-04 18:15 
GeneralRe: Passing referance and passing pointer Pin
Ryan Binns28-Oct-04 20:27
Ryan Binns28-Oct-04 20:27 
GeneralWho Calls main and where does main returns (C/C++) Pin
Ranjish27-Oct-04 18:55
Ranjish27-Oct-04 18:55 

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.