nico7nibor has asked for the wisdom of the Perl Monks concerning the following question:
Hi guys
this is my code: # ------------- # Register DLL # -------------
if (! -f "$Value_DLL") { $ERR = 10; &printlog ("Value DLL not found($Value_DLL)...\n"); &printlog (" Execution Terminated!"); exit $ERR; } else { `regsvr32 /s "$Value_DLL"`; &printlog ("SO ($Value_DLL)\n"); }
How do i check if dll is registered properly, coz even if they seem correct it is possible that the file is corrupted. And another way to register aside from using backticks...
Thanks and Happy thanksgiving to the guys in the US...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how do i check DLL if registered correctly?
by Marshall (Canon) on Nov 26, 2009 at 13:12 UTC | |
|
Re: how do i check DLL if registered correctly?
by cdarke (Prior) on Nov 26, 2009 at 11:34 UTC |