manojghosh has asked for the wisdom of the Perl Monks concerning the following question:
whereas our GetACC() is defined like this: Long GetACC(String,String); The interpreter crashes as i am running this ...!use Win32::API; my $temp='123456789'; $sp=' '; my $fun=new Win32::API('DataGenerate.dll','GetACC','LL','L' ) or die $ +^E; my $y = $fun->Call($temp,$sp); print($y);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl program calling external .dll functions
by marto (Cardinal) on Mar 17, 2011 at 11:46 UTC | |
|
Re: Perl program calling external .dll functions
by Jenda (Abbot) on Mar 17, 2011 at 15:09 UTC | |
|
Re: Perl program calling external .dll functions
by ikegami (Patriarch) on Mar 17, 2011 at 17:35 UTC | |
by manojghosh (Novice) on Mar 18, 2011 at 05:17 UTC | |
by ikegami (Patriarch) on Mar 18, 2011 at 06:51 UTC | |
by BrowserUk (Patriarch) on Mar 18, 2011 at 07:02 UTC | |
by ikegami (Patriarch) on Mar 18, 2011 at 07:49 UTC | |
|