Here's another thing I don't understand: Using exactly the same dummy component and the same asp, I have two sequences of events:
1.
- InitInstance of the dll
- Constructor of the component (ref count = 1)
- Destructor of the component (ref count = 0)
2.
- InitInstance of the dll
- Constructor of the component (ref count = 1)
- Destructor of the component (ref count = 1)
- Constructor of the component (ref count = 2)
- Destructor of the component (ref count = 2)
I can get either of these sequences (randomly) after I reboot my computer. And, for either of them, the dll is unloaded or not, randomly too.
The DllCanUnloadNow function in the dll is never called.
My asp creates only one object, still, in the second sequence, two objects are created.
At this point, there are not many things I understand anymore... :))
Vlad
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only