05-01-2006 04:40 PM
05-01-2006 08:39 PM
05-02-2006 06:19 AM
Thanks Odd_Modem! That does help clear things up a bit.
From what I gather from this article, the handle is either generated by Windows or assigned by the user. I tried to assign a U32 to the handle, but it didn't work out too well for me. Is there a way in LabVIEW to allow Windows to assign the handle for that instance and then read that value to a variable to use elsewhere?
05-02-2006 07:46 AM
04-12-2018 02:36 AM - edited 04-12-2018 02:37 AM
For anyone who comes across this thread:
Since LabVIEW 2009, the Call Library Node has a new numeric datatype called Pointer sized (unsigned) Integer. The HANDLE being declared as pointer to void should therefore be configured as such now instead of an (u)int32, otherwise you will run into problems if the DLL is ever going to be 64-bit and you move to LabVIEW 64-bit to call it.
The control on the frontpanel to pass in and out such a parameter should be a 64-bit (unsigned) Integer, LabVIEW will take care to use the relevant 32-bits on 32-bit platforms.