
Calling COM DLL from .c files
I have a third party COM DLL written in VB (just application extension).
I need to call it from C program (done in VC++ environment). I tried
doing this with the common # import, as follows:
#import "E:\Program Files\SampleCOM.dll" no_namespace
However, this does not work, I get the following error:
error C2773: #import only available in C++ compiler
(which is logical).
However, I have no idea how to call this from C?!
I have been searching the MSDN etc. but for the life of me could not
find SIMPLE, and straightforward explanation.
I would REALLY appreciate any help.
Thanks a lot.
Sent via Deja.com http://www.*-*-*.com/
Before you buy.