There are corresponding methods in Win32: use Win32; $lib='c:/my.dll'; if ( Win32::RegisterServer($lib)){ print "ok"; }else{ print Win32::FormatMessage( Win32::GetLastError() ); }
-----Ursprüngliche Nachricht----- Von: Mauricio Lairet P. [mailto:[EMAIL PROTECTED]] Gesendet am: Sonntag, 27. Januar 2002 13:02 An: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: registering dlls through perl Hi! I was wondering if there is a script available for registering/unregistering dlls in windows. I tried to write one myself using `` and system() and in both cases the IIS hangs. I'm copying all my tests codes in case someone can see an error in there. `CMD /C d:\\winnt\\system32\\regsvr32.exe e:\\mydll.dll`; or `CMD /C regsvr32.exe e:\\mydll.dll`; or system("CMD /C d:\\winnt\\system32\\regsvr32.exe e:\\mydll.dll"); or system("CMD /C regsvr32.exe e:\\mydll.dll"; None of them worked. Thanks in advance, Mauricio _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users