Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.interop
how to clean the COM object in assembly?
JamesZhang
8/22/2007 8:30:00 PM
The problem is that how to clean the COM object in assembly since this is like two ways Interop.
If I use "ref object" parameter in assembly, I don't need to clean it in assembly. After OCX is unloaded, it should go away with OCX.
But the host process is still there(OCX and assembly are leaving there too?), when reloading OCX, OCX pointer should send to assembly again. But don't know why OCX's constructor get called, then OCX get unloaded (other OCX memory get corrupted)?
EggHeadCafe - .NET Developer Portal of Choice
http://www.egghe...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
how to clean the COM object in assembly?
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password