Sisyphus wrote:

> 
> What happens if you launch the script using the wperl executable instead 
> of the perl executable ?
> 

I don't even know what wperl is, although it does look like it's part of 
my current perl install (I have never heard of it before now). In any 
event, it's not an option for us since most of our stuff runs in the 
context of the perlSE.dll (ActiveScript engine).

> Have you checked the various flags constants ? From the docs:
> 
> ------------------------------------------
> EXPORTS
>    The following constants are exported by default:
> 
>            CREATE_DEFAULT_ERROR_MODE
<SNIP>
> ------------------------------------------
> 
> I was thinking specifically of CREATE_NO_WINDOW constant (but perhaps 
> that does something else).
> 

I believe this corresponds to this process creation flag (from MSDN docs):

----
CREATE_NO_WINDOW
0x08000000
        
The process is a console application that is being run without a console 
window. Therefore, the console handle for the application is not set.

This flag is ignored if the application is not a console application, or 
if it is used with either CREATE_NEW_CONSOLE or DETACHED_PROCESS.
----

I'm really looking for something that works more generally (for console 
and non-console apps alike).  In older versions of the win32 API, I'm 
pretty sure there was a field in the STARTUPINFO that allowed the caller 
to request the app be started mimimized, but the current docs don't show 
such an option.

Perhaps my best bet it to try to call ShowWindow directly ??




_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to