Difference between revisions of "Creating Fieldworks IDL Files"

From LSDevLinux
Jump to: navigation, search
m (1 revision(s))
m (Add "FieldWorks" category)
Line 6: Line 6:
 
  DeclareCoClass(name, clsid)
 
  DeclareCoClass(name, clsid)
  
[[Category:COM]]
+
[[Category:COM]][[Category:FieldWorks]]

Revision as of 18:07, 14 February 2008

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)