Win32::AdminMisc and "error: Runtime Error" 
Author Message
 Win32::AdminMisc and "error: Runtime Error"

    Alright... I basically robbed this from Dave Roth's book and it doesn't
work .....

   if
(Win32::NetResource::NetShareGetInfo($homedir_share_name,$hdinfo,$homedir_se
rver_name )) {
        $homedir_local_path=$hdinfo->{'path'};
        print $homedir_local_path;
   } else {
        print Win32::GetLastError();
   }

I DID have it working before I moved some stuff around so it must be syntax
right?

I have tried (almost) everything and all I get is  "error: Runtime
Error"......

Anybody run into this before?



Fri, 09 Nov 2001 03:00:00 GMT  
 Win32::AdminMisc and "error: Runtime Error"
Sorry that was "error: Runtime Exception".....


Quote:
>     Alright... I basically robbed this from Dave Roth's book and it
doesn't
> work .....

>    if

(Win32::NetResource::NetShareGetInfo($homedir_share_name,$hdinfo,$homedir_se
Quote:
> rver_name )) {
>         $homedir_local_path=$hdinfo->{'path'};
>         print $homedir_local_path;
>    } else {
>         print Win32::GetLastError();
>    }

> I DID have it working before I moved some stuff around so it must be
syntax
> right?

> I have tried (almost) everything and all I get is  "error: Runtime
> Error"......

> Anybody run into this before?



Fri, 09 Nov 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Error: "BEGIN not safe after errors"

2. Help: Empty package "win32::CGI_Lite" error

3. when open a file, it kept showing "Error 500, Internal Server Error

4. HELP WANTED: runtime error message: VARIABLE ERROR.

5. Detecting an error from "do"

6. More error checking with "isa"?

7. String Terminator "EndHTML" Error

8. errors on "make test"

9. Error "make install"ing IO.pm

10. "not an object" error

11. "group routines not implemented"-error while testing perl

12. Perl error message: "Malformed cmd links"

 

 
Powered by phpBB® Forum Software