02-03-2017 04:11 AM
As far as good ..........................
Now there is a custom build graphical user interface using the Testand API. This application starts the Testand Engine. The same sequence fails with the same error.
What can i do to get it run ? Which engine is started ( 64 or 32 bit - are there 2 different versions at all ) ? ( Can i select or configure which engine - 64 bit, 32 bit is started by my application ? And if so: where can i decide which one is started ).
What happens when i decide to de-install the 64 bit version of Teststand and so try to "force" to start a 32 bit TS Engine.
Kind regards Rainer
02-03-2017 04:34 AM
Rainer,
there is no way to define an active bitness like defining the specific TS version (version selector).
I haven't tried this but it seems to me that the bitness of the calling application (UI) is selecting the bitness of TS. That means that using a 32bit compiled UI uses TS 32bit while a 64bit UI will call into TS 64bit.
02-03-2017 08:18 AM
The TestStand engine runs in-process with the UI that creates it so if you want to use the 32-bit engine, your UI must be compiled as a 32-bit application.
Another possibility you might want to consider is that you can execute a sequence using a remote execution in the 32-bit engine by calling it from a sequence as a remote sequence from a 64-bit execution. There is a performance cost to that, but it is one way to deal with a legacy 32-bit dll, while still porting most of your code to 64-bit.
Hope this helps,
-Doug
02-21-2017 09:48 AM
Thank you - compiling for a 32 bit platform is the solution !