I wonder why you can't register the DLL simply from the script's init section ?
pseudo code: INIT registerDLL . Function registerDLL() myDLL = ..\..\xyz.dll IF Error (try to access myDLL) Then _ regsvr32 myDLL Else _ Exit Function End If Stefan -- <http://forum.pspad.com/read.php?2,40752,40904> PSPad freeware editor http://www.pspad.com
