NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

fatal error C1083: Cannot open type library file: '..\..\bin\TsAdpApi.tlb': No such file or directory

Hi Folks:
I am doing one Dll file for TestStand , and got an error : d:\teststand3.5\teststand 3.5\examples\modaldialogs\mfc\tsapivc.h(18) : fatal error C1083: Cannot open type library file: '..\..\bin\TsAdpApi.tlb': No such file or directory
Could anyone help me out of that ??
Thanks in advance !
0 Kudos
Message 1 of 2
(13,687 Views)
This type library for the adapter API is embedded in the teapi.dll. If you are using Visual Studio.NET, there is an attribute called tlbid that you can use with the #import directive in order to import that embedded library (see the MSDN documentation for more details). For example:
#import tlbid(2)

In VC++ 6.0, there is no way to import embedded type libraries. Therefore, you must use the attached type library file (.tlb) with the #import directive. For example:
#import "TsAdpApi.tlb"

0 Kudos
Message 2 of 2
(13,662 Views)