From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-02-2010 10:26 AM
02-02-2010 10:30 AM
02-02-2010 01:24 PM - edited 02-02-2010 01:29 PM
fautsch wrote:Hi,
I just got the same message you got. I created a dll with Labview 2009 and wanted to use it in LabView 7.1. As soon as I load the DLL the message pops up! The idea of this dll is that anyone could use it, even if they have an older version of LabView. If anyone has a solution please tell me!!
Thanks
You can't do that. You have to develop the DLL in the lowest version of LabVIEW you want to support. That is because a LabVIEW DLL does get loaded into the development system it is running and will try to reference the LabVIEW C manager functions of the calling environment. If it wouldn't do that passing LabVIEW native data would not be possible, since the memory manager of the runtime engine in which the DLL is running has no idea about the memory manager of the calling LabVIEW engine.
But LabVIEW DLLs created in LabVIEW 8.x and newer do try to reference said function which is not present in LabVIEW 7.1 so you get that dialog. If you create the DLL in LabVIEW 7.1 you should be able to load and run it in LabVIEW 8.x and 2009
However between LabVIEw 7.x and 8.x there was a chance in the labview.lib file handling in that it added a labviewv.lib import library which was supposed to deal with LabVIEW version differences between DLL and LabVIEW environment properly and that might make it difficult. It could be that labview.lib does not support running a LabVIEW DLL in a different version than what the DLL is created in while labviewv.lib does support that but was not available before LabVIEW 8.x.This is mostly speculation as I have never fully understood the difference between labview.lib and labviewv.lib but it could very well be that this is the difference between those two.
02-11-2010 09:47 AM
Hi,
This information may help someone, I decided to build my dll in Labview 8.6 and now I can use it in Labview 7.1