Hi Folks,
Okay.
- I have an executable built in clarion that retrieves some data.
- The executable is called from a powershell script.
- The executable is a single window procedure.
- I would like to return a string value to the powershell script (rather than saving to disk, need to stay off-disk if possible).
- Window procedure has a return value set to a string variable.
- Return value is set correctly on closing the window.
- Powershell script will not recognise the return value.
Now either my powershell script isn’t picking up the return value (I’ve gone through a whole bunch of iterations),
Or for some reason the executable is not returning anything (this seems more likely).
This could be because I’ve missed something in telling it what to return.
Any thoughts on what I might have missed / be doing wrong - Or if this is possible.
Cheers,
Stu