hi.

i have to standart Exe project with
1 form. and command button on it.

pressing the command button will do this :

Private Sub Command1_Click()
Dim obj As Object
Set obj = CreateObject("Test111.CMyObject")
Static i As Long
i = i + 1
Dim s As String
s = obj.conStr("one", "two" & i)
Command1.Caption = s

Set obj = Nothing
End Sub


my q:

when im try to recompile the activeX dll (test111)
while the my app is working i get ..
"permission denied..." , i guess that the dll was still load.

what's wrong ?
how can i unload the activeX dll after finish using it ?

( i followed the ActiveX shut down rules, but it still dont unload)

thanks, and have a nice day.