Home > Software engineering >  Why importdll wrong?
Why importdll wrong?

Time:10-13

 
# import "Hello. TLB"
Using the namespace Hello;
/* # import "Hello. DLL no_namespace not make */"

/* # import "Hello. DLL
"Using the namespace Hello; Also not make */


Hello. The DLL is a c # do com components, like the one above to write, run no problem, but in written comments up, can't compile,

Fatal error C1083: cannot open type library file: "... ": an error occurred when loading type library/DLL,

I watched, the path is right,

CodePudding user response:

http://blog.csdn.net/weiwenhp/article/details/7640936
Hope to help you ~

CodePudding user response:

reference 1st floor VisualEleven response:

http://blog.csdn.net/weiwenhp/article/details/7640936Hope to help you ~

This example USES the TLB file, the program I use TLB file can also be, DLL is loaded into the library files went wrong,
  • Related