New to DCOM.
I have a DCOM server which runs as a service (local server).
I have a DLL which talks to this DCOM server and exposes various
functions that are used by other applications.
Applications call initialize function then the other functions and
finally uninitialize.
In this DLL i have a global variable g_IInterface.
g_IInterface is set to interface pointer by calling CoCreateInstance in
call to initialize function.
g_IInterface is set to NULL in uninitialize function of the DLL.
What will happen when many applications load this DLL ??
Will CoCreateInstance get called for every process??
Should CoCreateInstance be called for every thread?
Thanks,
VJ