in reply to Re: Ping, fork error on Win32 (bad pointer?)
in thread Ping, fork error on Win32
I have determined that the cause of the crash is related to using Win32::OLE in the same script. This script crashes too:
For the immediate period, I have found that by changing the protocol to "icmp", I don't get the error.use Net::Ping; use Win32::OLE; # or use Win32::OLE::Variant; $p = Net::Ping->new(); print $p->ping($hostname);
|
|---|