Creating Fieldworks IDL Files

From LSDevLinux
Revision as of 12:47, 2 January 2007 by Spammer (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Fieldworks contains a file named common.idh, which contains macros for helping to create IDL files. To use this file, #include common.idh in an idl file. The following macros can then be used to generate a simple idl interface (Others are available, check Src/Generic/common.idh for details).

DeclareLibrary(name, ver, desc, libid)
DeclareInterface(cls, base, iid)
DeclareCoClass(name, clsid)