• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

nevermind i figured it out.

hans007

Lifer
so i'm a super beginner with COM.


all i know how to do is make ATL wizard com objects. anyhow, the way i call my COM server interface from a client is by including the header from the COM object so that the interface is defined and i can get a pointer to the interface with Cocreateinstance


now, i guess this is similar to a dll with a lib file, or a dll with a bunch of _declspec(dllimport) lines etc.


i was just wondering if there is a way to get a pointer to the interface and use it without predefining everything . would i just have to make a big typedef for that interface? i think thats how to do it but im really not sure.

i tried to use an IUnknown pointer to use IUnknown->queryinterface with the correct UUID and IID and such, and set it to a void* pointer, but then I cannot access the interface that i recieve's methods. well or i am completely not understanding how this works.

anyhow.... anyhelp or comments or anything or links to tutorials would be appreciated.



OK NEVERMIND

i figured it out, you just have to paste in the interface class prototype thing.
 
Back
Top