Not sure how this is supposed to work but, I have a dll created with a method called save. Compiled, registered and works just fine. I have created a vbs file:
When I double click on the vbs file it runs fine, save has a message box that says save. It does nothing other than that. Now when I go to recomplile the file is locked. The file is being locked by dllhost.exe and is never released. Funny thing is the same functional vb dll never spawns dll host and once the script has completed the file is not locked.
Code:
Dim o Set o = CreateObject("FOO") o.Save Set o = nothing
Comment