On 2/6/2007 7:32 PM, Don Dwiggins wrote:

>> This is an example code snippet:
>> http://forum.sysinternals.com/forum_posts.asp?TID=4094
>>
>> Don, if your win32-foo is good enough, mind trying this solution? You could 
>> try sticking the job-related code from that example in winmain.c, in 
>> function 
>> relaunch(), before CreateProcess() is executed.
>>   
> I may be a while 'til I get around to it, but I will give it a go when 
> the time comes.

OK thanks!

>> The proper solution would probably involve some dynamic linking, since job 
>> functions are available only since Windows 2k, and I don't want to break 
>> compatibility of the bootloader with older Windows.
>>   
> I understand.  I think all our clients are on 2K or later, 
 > so it'll be
> good enough for my needs, but you have different considerations.  Gotta 
> love open source software!

Eheheh!

Notice that the proposed solution only works under XP or Vista though. 
The 2k reference was because the code won't even *link* under operating 
systems before Win2k (at runtime there would be unreferenced symbols in 
the DLLs).

Thus, if you need it to work under 2k, you will have to work around 
differently. For instance, you could go through the process list and 
manually kill all processes in the tree (the same thing that "TASKKILL 
/T" does under Windows XP).
-- 
Giovanni Bajo


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to