Posted By: hanw
zOpen() API returns null? - 06/01/21 06:52
Hi,
I am experimenting with the zInit, zData and zOpen APIs to control a zorro process.
I was able to build the zorroControl example by creating a console application in visual studio 2019 and added the source from Zorro/Source/ZorroControl to the project.
However, when running the application, the application returns "Can't initialize zorro processes"), which means this following code is failing to run.
My question is, is there an example on how to use the zOpen() API, what might be the problem?
Thanks
I am experimenting with the zInit, zData and zOpen APIs to control a zorro process.
I was able to build the zorroControl example by creating a console application in visual studio 2019 and added the source from Zorro/Source/ZorroControl to the project.
However, when running the application, the application returns "Can't initialize zorro processes"), which means this following code is failing to run.
Code
if(!zOpen(2,"Control -run -h")) { printf("Can't initialize Zorro process!"); return EXIT_FAILURE; }
My question is, is there an example on how to use the zOpen() API, what might be the problem?
Thanks