10-17-2023 04:20 PM
For the most part yes. A VI can be opened in 64-bit or 32-bit without issue.
The issues arise when the code calls third party drivers, toolkits, dll or ppls that are developed in the bitness other than the one you are opening it. Example: You have vi's that calls a 32-bit dll. If you try to open the VI's in 64-bit it will complain about the dll not being loadable.
10-18-2023 05:53 PM
The one thing I noticed with 64 bit is loss of User32 functions like Mouse Move.
A solvable problem, just didn't get around to working on it.
Now that my only 64 bit project is completed that task is on hold.
10-19-2023 12:06 AM
@stevem181 wrote:
The one thing I noticed with 64 bit is loss of User32 functions like Mouse Move.
A solvable problem, just didn't get around to working on it.
Now that my only 64 bit project is completed that task is on hold.
What do you mean? They are not lost at all. You might think so because of the name "user32.dll", but that's a 64-bit dll.
Here's an example.
10-19-2023 04:50 AM
@thols wrote:
@stevem181 wrote:
The one thing I noticed with 64 bit is loss of User32 functions like Mouse Move.
A solvable problem, just didn't get around to working on it.
Now that my only 64 bit project is completed that task is on hold.
What do you mean? They are not lost at all. You might think so because of the name "user32.dll", but that's a 64-bit dll.
Here's an example.
It can be tricky though, as handles are not pointers. MS's API isn't always too transparent about values being handles or pointers.
Mouse move will probably work OoTB.
10-19-2023 04:35 PM
> What do you mean? They are not lost at all. You might think so because of the name "user32.dll", but that's a 64-bit dll.
I was incorrect. My only experience with 64 bit LabVIEW was in a Virtual Machine.
Since you let me know that it does work, I checked on the operation of VMs.
Now I know why SetCursorPos does not work.
The VM would have to change the cursor position on the Host PC.
So it makes sense that this limitation exists.
Lesson: VMs and SetCursorPos are not compatible.