
Calling COM from .c files
when you compile an IDL, the generated header files contain definitions
which can be used from C as well..
Just define COBJMACROS and use the macros .. which will look somewhat like
IXXX_QueryInterface(), etc..
--
Girish Bharadwaj
Quote:
> Hello!
> I have a slight conceptual (and very newbie!) problem:
> I have application written in C , but compiled in VC++ 6.0.
> Files are all ****.c.
> Now, I have COM (ATL) objects, IN VC++.
> How can I call my COM objects from the .C files?
> Thanks everybody.
> Sent via Deja.com http://www.deja.com/
> Before you buy.