|
From: Peter D. T. <don...@td...> - 2021-09-19 21:48:01
|
Hi Foersler, On Sun, 2021-09-19 at 22:08 +0200, G. Foersler wrote: > Could the problem be that the main application is 64 bit and the > library is 32 bit? Do I need a 64 bit library? Sounds weird if the name > is libusb-win32... The "win32" refers to the win32 API in Windows, and has little to do with being 32 bit or 64 bit. You must use the 32 bit version of the library for 32 bit apps, and 64 bit version for 64 bit apps. > I can integrate some C++ functions into the main applications that > have access to its memory space. > Maybe I can then share the handle. I doubt that is going to work. Again, you cannot share handles across applications on any sane O/S. You can share handles across threads, but not processes. Create a pipe and send the data to/from that. Thanks, /pedro |