In C++, what does it mean to import a .exe? -


in c++ i've never seen #import line imports .exe following line:

#import "c:\program files\google\google earth\googleearth.exe" 

what line , how can interpret/understand it?

it's vc++ extension lets import information type library.

used incorporate information type library. content of type library converted c++ classes, describing com interfaces

so in example, program have access com interfaces exported google earth program without needing explicit header file define them (although believe ge com api has been deprecated may not work current versions of software).


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -