NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

-17502; System Level Exception

I have a question about calling a DLL from TestStand 3.1.
 
First … I am using a DLL that I did not develop……
 
Here is my issue…
 
When I call the DLL using TestStand 3.1 it returns is the error.. 
 

 -17502; System Level Exception

 

When I run it with TestStand 4.2 (the evaluation version) it works perfectly.
I have searched everywhere and did find a few things to try… but…  I have not had any success.
It appears to be a low level system problem related to the windows DEP settings..
 
Any Ideas to try

0 Kudos
Message 1 of 3
(3,417 Views)

Why do you think it is related to the DEP setting? I'm pretty sure DEP should be disabled by default for TestStand 3.1. The Windows default is generally to check for a flag on the .exe file and if it is set to be compatible with DEP then DEP is used, otherwise it is not. Perhaps this has changed on newer versions of Windows though, I'm not entirely sure.

 

Do you have any idea what the dll does or have access to the source code?

 

-Doug

0 Kudos
Message 2 of 3
(3,386 Views)

Hi DComei,

 

From your description, this error sounds like a known bug in older versions TestStand. Without knowing more about the DLL (i.e. How it was created, what parameters the functions accept. etc.) it is difficult to know if the reports I saw specifically address the problem you are seeing.

 

If possible, I would recommend upgrading your version of TestStand since the problem seems to be fixed. Otherwise, we will need to know more about the DLL to be able to move forward with this.

 

Have a great day!

Tanya Visser
National Instruments
LabVIEW Group Manager
0 Kudos
Message 3 of 3
(3,383 Views)