LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Crashing LabVIEW when calling SetDoubleClickTime (Windows UI API)

Hmm, I think I'm calling SetDoubleClickTime correctly through the Call Library Funciton Node.  I'm even able to update the double click time.  For some reason, though, LabVIEW crashes upon execution of the function.

I suspect that I'm not handling the returned Boolean value correctly, but I've tried returning all permutations of unsigned integer, 8 bit, 16 bit, and 32 bit.  All result in crashes.

Any ideas?

Thanks,
Victor
0 Kudos
Message 1 of 5
(2,346 Views)

Here is what your call should look like...

I suspect it is your calling conventions.  They should be stdcall (winapi)

Message 2 of 5
(2,342 Views)
J Peters,
Thank you for your prompt reply.  You were right, I was using C calling conventions instead of the Std WinAPI conventions.

Thanks for the help!

Victor
0 Kudos
Message 3 of 5
(2,335 Views)

Hi Peters,

Can you repost the Vi saved for LV 7.1 ?

- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 4 of 5
(2,325 Views)
Here you go, in shiny 7.1 format.
0 Kudos
Message 5 of 5
(2,309 Views)