NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL is used to open MS Access Database file, worked outside TestStand, and could not open Database file in TestStand

I created a dll using VC++ to open/read MS Access Database file. The dll works when running outside TestStand, When I used the dll in TestStand, the MS Acces Database file could not open.
0 Kudos
Message 1 of 3
(3,174 Views)
To Steve1 -
Some questions that come to mind to help with solving this are:

1) Are you using any ActiveX control components to assist you in accessing the database?
2) Are you using ADO or DAO or ODBC to access your data?
3) When you called the DLL successfully outside of TestStand, what was the OI written in?
4) Since you own the source code, what is the error or exception that is thrown and on what ADO or DAO function call does it fail?

Scott Richardson (NI)
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 3
(3,174 Views)
Try using Depends.exe on the DLL that you created to see if there is a dependancy that is not being loaded with TestStand.

You may have a library that is not being loaded by the DLL, but may be loaded by your 'compiler'.

Depends.exe should aready be on your system, but if not you can download it from MS, or email me at chris.a.wright AT yaps4u.net and I can forward a copy.

Hope this helps,

Chris
0 Kudos
Message 3 of 3
(3,174 Views)