Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VC++ ATL component is not unloaded from MTS
Message
General information
Forum:
Visual C++
Category:
Other
Miscellaneous
Thread ID:
00169062
Message ID:
00169137
Views:
21
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
Map
View

Click here to load this message in the networking platform