in reply to Re^3: Console Window Minimized
in thread Console Window Minimized

Also I think that Win32::API::Prototype module is obsolete, you can use pure Win32::API instead of it.

Please clarify?


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon

Replies are listed 'Best First'.
Re^5: Console Window Minimized
by ccn (Vicar) on Sep 21, 2004 at 09:35 UTC
    AFAIK Win32::API::Prototype was created when Win32::API had no handy importing style
    use Win32::API; Win32::API->Import( 'mydll', 'int sum_integers(int a, int b)', ); $return = sum_integers(3, 2);

    Yes I know that Win32::API uses eval for importing but it works, so the searching and installing Win32::API::Prototype is not necessary.

    As for Win32::API::Prototype string manipulation functions, they are not seem very useful. I think Win32::API should take care about length of input strings and truncating of output ones. Unfortunately it's not implemented there. May be I'll do it if the author don't.