Quote Originally Posted by The trick View Post
I still don't understand. If you want to initialize an AxDll project from a C++ application you should use CoCreateInstance - nothing more. If you want to use callbacks in a StdExe project from a C++ application - use InitCurrentThreadAndCallFunction/InitCurrentThreadAndCallFunctionIDEProc - nothing more. Moreover there are the usage examples in the repository. Sometimes i guess jsvenu and smkperu are same person in the sense that they cannot explain normally what they need.
Hello The Trick,

If I want to use callbacks in a StdExe project from a C++ application - why should I use InitCurrentThreadAndCallFunction in vb6.Why not I shift the complexity from vb6 to c/c++ by implementing
InitCurrentThreadAndCallFunction in c/c++ and put vb6 std exe application as simple as possible.Why you are stopping me from doing it by discouraging Me and JSVenu.
In fact what JSVenu told is correct regarding scenario 2.
InitCurrentThreadAndCallFunction calls vbdllgetclassobject.

Thanks