Sam_Tuteja
March 16th, 2006, 01:01 AM
My application is a DCOM Server and it is running on the WINCE 5.0 device.
In the server application, I have used CoTaskMemAlloc API to allocate the memory.
My client application is running on desktop PC and using the DCOM services to communicate with the server application. In the client application I have used CoTaskMemFree API to deallocate the memory being allocated by the DCOM server. In this case one of the tool is reporting the memory leaks for the memory allocated by the server application.
Why i am getting the memory leaks for the memory allocated by the CoTaskMemAlloc when it is being freed by the Client application??
Any Idea???
In the server application, I have used CoTaskMemAlloc API to allocate the memory.
My client application is running on desktop PC and using the DCOM services to communicate with the server application. In the client application I have used CoTaskMemFree API to deallocate the memory being allocated by the DCOM server. In this case one of the tool is reporting the memory leaks for the memory allocated by the server application.
Why i am getting the memory leaks for the memory allocated by the CoTaskMemAlloc when it is being freed by the Client application??
Any Idea???