in reply to Re^4: Perl calling my.DLL for serial port work.
in thread Perl calling my.DLL for serial port work.
That means that the module Win32::API is not installed with your Perl. This is unlikely if you are using ActiveState Perl, but if you are using Strawberry Perl, you will have to install Win32::API via CPAN:
cpan Win32::API
Also, I recommend you read the documentation to Win32::API before modifying the code I posted. The code I posted was not intended for modification - you should have left it as is, and just called the code:
SSC_OPEN( 1, 2400 );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Perl calling my.DLL for serial port work.
by kansaschuck (Sexton) on Feb 03, 2008 at 18:52 UTC | |
by ysth (Canon) on Feb 03, 2008 at 19:17 UTC | |
by kansaschuck (Sexton) on Feb 03, 2008 at 23:16 UTC |