+ 1
How to use com components in C++ visual studio
Hi I got tlb files and need to use into visual studio C++ 2019 I just imported tlb into my .cpp but I am still unable to use com related functions from tlb What I am missing here ? Can someone help or guide with link of some documents? I read so many places that I should add the reference but how and not able to find any broswe button once I do add reference.
1 ответ
+ 1
Just in case someone else also facing this issue :
Refer below and it worked for me..
1. No need to add reference from object browser or any node from project property
2. Just import tlb as mentioned in below thread :
https://forums.codeguru.com/showthread.php?263099-Can-I-use-tlb-file-in-vc
Make sure you just import the name of tlb rather than full path ... If full path provided in import , it does not work... Path is to be provided into project property as include directory only