I have a huge c++ project and I'm implementing a simple com exe server for expose my classes to client.
the thing that i'm not understand is how i can take the required data from the project.
For example :
my project has a CModel class where there is all what i'm need.
How i can create a method that takes the data from a pointer of the CModel and returns they to the request of the methods?
and above all, how i can have access from the coclass's method, to the instance of the CModel?