gbotzz has asked for the wisdom of the Perl Monks concerning the following question:
use Win32::API; sub pl_prwin { my $prwin; my $hands; my $board; my $GetPrwin; my $lpBuffer; my $return; $hands = "AhKh|Td9s|QQ+,AQs+,AQo+|JJ-88|XxXx|XxXx|XxXx"; $board = "Ks7d4d"; $GetPrwin = new Win32::API( "OH-DLL.dll", "prwin1($hands, $board)", 'PP', 'N'); $lpBuffer = " " x 80; $return = $GetPrwin->Call(80, $lpBuffer); $lpBuffer =~ s/\0.*$//; $prwin = $lpBuffer; return $prwin; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::API question
by ikegami (Patriarch) on Apr 25, 2009 at 03:13 UTC | |
by gbotzz (Novice) on Apr 25, 2009 at 03:40 UTC | |
by tye (Sage) on Apr 25, 2009 at 05:14 UTC | |
by gbotzz (Novice) on Apr 25, 2009 at 10:28 UTC | |
by tye (Sage) on Apr 25, 2009 at 15:40 UTC |