I'm having a strange problem within VB6, here's a simple example where an app calls a DLL which prompts a message box and nothing else. Why does the DLL remain in memory after completing the call to the DLL. I know it is still in memory because i cannot recompile the DLL while the calling app is still running. What's going on!
DLL:
VB Code:
Public Function Test() MsgBox "Test" End Function
My App calling the DLL:
VB Code:
Dim obj As Object Set obj = CreateObject("Test.Class1") Call obj.test Set obj = Nothing




Reply With Quote