|
-
Mar 12th, 2002, 07:26 AM
#1
Thread Starter
Member
unloading activeX dll
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.
-
Mar 12th, 2002, 10:07 AM
#2
Are you recompiling the dll while the program is still running?
-
Mar 13th, 2002, 10:24 AM
#3
Thread Starter
Member
Yes im compiling the dll while the program is running
Yes im compiling the dll while the program is running ,
b u t , im doing it after no object and reference from the dll r open.
( all object r closed and references set to nothing ).
-
Mar 13th, 2002, 12:03 PM
#4
dont think it matters...the app should still need to be closed as it probably still holds a reference although no memory is used.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|