In C ++, what does importing .exe mean?

In C ++, I never saw a line #importthat imports .exe, as in the following line:

#import "C:\Program Files\Google\Google Earth\googleearth.exe"

What does the line do and how can I interpret / understand it?

+4
source share
1 answer

This is a VC ++ extension that allows you to import information from a type library .

Used to include information from a type library. Content type library is converted to C ++ classes, mainly describing COM interfaces

, COM-, Google , ( , API GE COM API , ).

+10

All Articles