> This question is for the serious NT sysadmins out there:  Given that
Microsoft
> strongly discourages NT services having a GUI interface, are there any
problems
> or security issues I need to worry about?  A GUI service must run under
the
> Local
> System account.  You can still use Hide Icon to make the service virtually
> invisible to all users.

how about something like...

A) put the compute thread into a DLL with no GUI.  This DLL is
self-sufficient enough that if the .INI files or whatever are previously
setup correctly, this DLL could be invoked by RUNDLL32 and perform useful
work albeit with no user interface.

B) prime95.exe is the GUI... it can either call the DLL directly (win9x
systems), or invoke it as a system service if on a NT derived system.  if
the DLL is running as a service, prime95 can exit and restart all day long
without affecting the computation thread.

btw, IMHO, MFC stands for Microsoft Frustration Classes.  OK for building
GUIs, rotten for system programming.


_________________________________________________________________________
Unsubscribe & list info -- http://www.ndatech.com/mersenne/signup.htm
Mersenne Prime FAQ      -- http://www.tasam.com/~lrwiman/FAQ-mers

Reply via email to