in reply to Re: XS Library Compilation Problems: Linker Error
in thread XS Library Compilation Problems: Linker Error
Test.pl
use Win32::Test; $Sum = Win32::Test::AddNumbers (500,250); print "Sum is $Sum \n";
Test.pm
package Win32::Test; require DynaLoader; @ISA = qw (DynaLoader); bootstrap Win32::Test; 1;
When only one parameter is passed I get the croak message expected and the script/perl exits properly back to commandline. When both parameters are passed I get the sum printed but either the script, dll, or perl itself hangs and I have to terminate with ^C.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: XS Library Compilation Problems: Linker Error
by Roger (Parson) on Nov 10, 2003 at 06:41 UTC | |
by talwyn (Monk) on Nov 13, 2003 at 23:53 UTC |