quote:
Originally posted by mynetx
As for the OLEFiles, that's right, but it can't be wrong to do it with
var Shell = new ActiveXObject("WScript.Shell");
Shell.Run("regsvr32 "+MsgPlus.ScriptFilesPath+"\\GoUiDoS.dll");
upon first script call. Then store a pref in registry to see that the regsvr32 has been executed when the script starts the next time.
Whats the point? just put a try statement when trying to call the DLL functions, if they fail then it didn't register and the script should be re-imported