0

C++ header files

Hi I have multiple solutions. One of them is having msxml code for XML file read and write. That header having code of msxml is used in one of the solution file. I need to refer same header file in another solution. I am using visual studio ide 2019. I have used additional include header file and libraries in linker for a solution which I need msxml related header reusability. Am I missing something as msxml related header working fine in one solution is asking me error of compile time for .tlh file missing as linker error. How to solve this error ? Many thanks in advance. Feel free to ask for clarification of query.

23rd Jun 2021, 7:43 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
3 odpowiedzi
+ 2
Martin Taylor , I forgot to mention that I had added statement related to #include in source file Could you please elaborate what to be done to update the include path in compiler option?
24th Jun 2021, 4:17 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
+ 1
I don't even use VS, just found this, Idk maybe it's relevant ¯\_(ツ)_/¯ https://stackoverflow.com/questions/57751715/import-tlb-file-gives-cannot-open-source-file-x-tlh
23rd Jun 2021, 11:31 PM
Ipang
+ 1
Thanks Ipang ... It will not work because my header which is of concern is already working for one solution and not for my solution... Many thanks for sharing this information
24th Jun 2021, 4:20 AM
Ketan Lalcheta
Ketan Lalcheta - avatar