c++ - Using the #import directive on a microsoft shared dll -


i not have experience working com , wondering if knew minimum amount of information have provide #import dll cpp file (which used make dll). according mdsn (http://msdn.microsoft.com/en-us/library/8etzzkb6(v=vs.80).aspx) need include type library resource such .ocx file. case microsoft shared dll (e.g. mso.dll)? in addition, other type library resources can use?

from have gathered far, need provide enough information midl form interface dll in right way (this seems essence of com).

in link listed key sentence "#import creates 2 header files reconstruct type library contents in c++ source code". when #import mso.dll importing type library project (not cpp file) , creates necessary com interface definitions. don't need provide additional information.

but there other files need #import in order use office applications, depending on trying do.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -