Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

ProcessHandle in 64-Bit TestStand

$
0
0

Hi,

 

in sequences from 32-Bit-TestStand (4.1) I get in 64-Bit-TestStand (2014) on "Call Executable" steps the error

 

"-17308: The Process Handle Location step property must be an expression that evaluates to an object reference.  Invalid expression: Step.ProcessHandle".

Now, Step.ProcessHandle does exist as step property. The documentation says that a bitness-independent call should use the expression

 

RunState.Engine.Is64Bit? Step.ProcessHandle64 : Step.ProcessHandle

 

However, Step.ProcessHandle64 does not exist as a property. Is it correct to use Step.ProcessHandlePtr? Would that work in sequences used in 32-bit and 64-bit or is the above conditional expression necessary (with ProcessHandlePtr instead of the not-existing ProcessHandle64)?

 

Regards

 

Peter


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>