Error : Runtime exception with win32Api... 
Author Message
 Error : Runtime exception with win32Api...

Help me...

I'm trying to use Win32Api with NetGroupEnum and i have :

Error : Runtime exception...

a idea ??

#####################################################"
use Win32::API;

system (cls);

$GroupEnum  = new Win32::API("Netapi32", "NetGroupEnum", [P,I,P,I,P,P,P],
I);

$server   = "\\\\myserver";
$level  = 1;
$buf  = " " x 128;
$prefmaxlen  = 128;
$entriesread  = 0;
$totalentries  = 0;
$resume_handle = 0;

$Result  = $GroupEnum->Call($server, $level, $buff, $prefmaxlen,
$entriesread, $totalentries, resume_handle) ||Error();

print "\$Result=$Result\n";

sub Error
 {
 return Win32::FormatMessage(Win32::GetLastError());
        }



Mon, 17 Jul 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Error : Runtime exception with Win32Api... Why??????

2. EventLog Gets Runtime Exception Error

3. HELP! Runtime Exception Error

4. Error : Runtime exception with Win32::ODBC

5. Error: Runtime Exception <-- on longrunning sub

6. Runtime exception error, PerlApp

7. Error: Runtime Exception <-- on longrunning sub

8. Error: Runtime exception

9. Runtime exception with Win32::ODBC

10. gdwin32 doesn't appear to work (Runtime Exception)

11. runtime exception in activestate perl when using modules

12. Pattern match causing runtime exception

 

 
Powered by phpBB® Forum Software