Home > Software engineering >  Vs2019 import COM components can't see some interface
Vs2019 import COM components can't see some interface

Time:09-15

Using VS2005 simple example of c + + has IWelcome interface, the following figure


Using VS2005 c # console automatically generated wrapper (add reference function), and can display properly IWelcome interface, and can see MyCOM interface inheritance IWelcome interface, the following figure


But using VS2019 c # console automatically generated wrapper (add reference function), can't display properly IWelcome interface, and can see MyCOM interface no inheritance IWelcome interface, the following figure


Try to use VB6 add reference to have a look, and found no IWelcome interface, the following figure


Now more confused, feeling is each platform support for COM, patterns, different packing, excuse me how can I show on VS2019 IWelcome interface??
PS: the book a lot of examples to use the older examples of platform development, but in the new platform can, according to the normal work, the more depressed,

CodePudding user response:

Please help

CodePudding user response:

Found only in the object browser can't see the interface, directly type in the code window interface of letters can be seen from the inside of the smart tips, and application of normal,
  • Related