Re: need help with COM in C
- From: Skarmander <invalid@xxxxxxxxxxxxxx>
- Date: Fri, 31 Mar 2006 20:07:09 +0200
xwskx wrote:
I need some help using COM in c.
Asphyxiating yourself with a handkerchief is more fun, and has a far better chance of success. But obviously this is a personal preference.
i've been using them sucessfully in
C#, C++, and java. But i can't find any tutorials for using them in c.
Does any have any good examples or a link to a tutorial. the COMs i'm
interested in is the OLE and GDI+.
The usual approach is to hide all the COM rigmarole behind macros that happen to work both in C and C++, with the C versions doing a lot of pointer indirection through "lpVtbl". In any case, lots of macro magic is practically a necessity. Readable code is attainable; pretty code is not.
Try comp.os.ms-windows.programmer.win32 and/or microsoft.public.win32.programmer.ole.
S.
.
- References:
- need help with COM in C
- From: xwskx
- need help with COM in C
- Prev by Date: Re: What will happen if main called in side main function?
- Next by Date: A question on variable defination
- Previous by thread: Re: need help with COM in C
- Next by thread: Text mode fseek/ftell
- Index(es):
Relevant Pages
|