Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,
Is it possible to Call
C++
Release()
Function in COM Server Itself.We have a situation where we have to call the Release function in COM Server itself instead of Client.
Posted
Comments
vasuvasanth 8-Apr-13 4:24am    
Actually it is a work around we are trying for some other problem.
The real problem is we are using a Wrapper dll on the COM Server.And we are trying to Call Release in dllmain( PROCESS_DETACH) function and we are facing problems in that.So we though we will send a message(by any windows message or using events) to Server so that it will call the release() function itself.

1 solution

Of course you can. But why?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900