I'm trying to use ActiveWire and it's usb dll, but I'm having a little trouble.
In the documentation it says...
"If your application needs to open 2 or more devices, create threads, load DLL in each thread, then open device with different devnum."
However, in Windows when I use...
I have a console program and also a DLL... in the DLL I have:
#pragma data_seg( ".shared" )
int g_cnt;
#pragma data_seg()
#pragma comment(linker, "/section:.shared,RWS")
What do I need in the console program in order to access g_cnt?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.