07-25-2011 01:15 PM
Hi all,
I am am trying to migrate my project from 32 bit LabVIEW to 64 bit LabVIEW. I have a bunch of DLLs in my project which are 32 bit.
When opening the project on 64 bit machine with 64 bit LabVIEW, I received an error stating "The library selected is not valid for the current platform. For example, you are runnin 64-bit LabVIEW and the library might be a 32-bit library."
Does this mean I have to convert all the DLLs to 64 bit first and then load them on 64 bit LabVIEW or is there some other workaround?
Thanks,
Ritesh
07-25-2011 02:00 PM - edited 07-25-2011 02:01 PM
This has come up several times recently. Did you try a search? The answer is that is a limitation of the operating system. If you cannot migrate the DLLs to 64-bit, then you'd need to write a wrapper DLL that's 64-bit, that uses some sort of inter-process communication to call the 32-bit DLL. You can read more here: http://blog.mattmags.com/2007/06/30/accessing-32-bit-dlls-from-64-bit-code/
What is prompting you to use 64-bit LabVIEW as opposed to sticking with 32-bit LabVIEW?