jiwei800715 has asked for the wisdom of the Perl Monks concerning the following question:
but because calling cross internet, remote server may not response during requesting the mass data. I think what is a better way to do this is a timeout method, but can not find kind of timeout way in win32::ole doc, so any one know how to deal with this problem?eval{ $obj=Win32::OLE->GetActiveObject("Expert.CoExec"); }; if ($@||Win32::OLE->LastError()) { die "Can not start Expert"; } @temp_array1=$obj->RemoteCallFunc("get_tradedetaile_4P_1_1",Variant(VT +_DATE,$Task_ref->{Date}));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: win32::OLE timeout problem
by BrowserUk (Patriarch) on Apr 01, 2009 at 10:10 UTC | |
|
Re: win32::OLE timeout problem
by Bloodnok (Vicar) on Apr 01, 2009 at 09:26 UTC | |
by BrowserUk (Patriarch) on Apr 01, 2009 at 09:48 UTC | |
by Bloodnok (Vicar) on Apr 01, 2009 at 09:52 UTC | |
by BrowserUk (Patriarch) on Apr 01, 2009 at 10:22 UTC | |
by Bloodnok (Vicar) on Apr 01, 2009 at 11:18 UTC |