I would like to activate the windows 2000 compatibility dll.
Why this piece of code doesnt work?
Code: Select all
RunProgram("regsvr32", "/s %systemroot%\apppatch\slayerui.dll", "", 1 | 2)
Code: Select all
; find the file with API
path$=Space(255) : r=SearchTreeForFile_("c:\","slayerui.dll",path$)
; register the dll
RunProgram("regsvr32","/s "+path$,"",1 | 2)
Thanks a lot and sorry for my bad english.