in reply to Re^6: Perl calling my.DLL for serial port work.
in thread Perl calling my.DLL for serial port work.

No, the I and II are literal instructions to Win32::API as to how to pass those parameters. Win32::API->new returns an object that can be used to call the DLL function. You should only do the my $SSC_MOVE = ...; sub SSC_MOVE { ... } once, and then call the defined SSC_MOVE sub as many times as you want with the actual values.
  • Comment on Re^7: Perl calling my.DLL for serial port work.

Replies are listed 'Best First'.
Re^8: Perl calling my.DLL for serial port work.
by kansaschuck (Sexton) on Feb 03, 2008 at 23:16 UTC
    Ok... that's working nicely. Thanks!