10-17-2008 06:42 AM
Hi everyone,
I used to have .DLL compled in LabView 7.1 that worked just fine in Windows XP. Now, I have rebuild it for Windows Vista. I have installed LabView RuntimeEngine 8.51.
It's not working.
Can you point out why?!
However I was wondering what happened to cvirte.dll, that I cannot see anymore in my Vista OS. DLLs should work without it?
10-17-2008 07:24 AM
So you have opened the DLL source in LV 8.5.1 in VISTA and put it in a project and built a DLL from it. And that DLL doesn't work like the one you had under 7.1.
Can't you use the DLL build in 7.1 under VISTA after installing the LVRTE 7.1?
What doesn't work in the DLL?
Can you call a simple function, e.g. one with only one integer parameter?
10-17-2008 07:59 AM
For Vista you should have at least LVRTE 8.2.1, so I cannot try with my initial DLL.
What was actually done, was to pass the .bld file to a guy who convert it to a project in LAbView 8.5.1 and made a DLL out of it.
Now I also called from DLL the LVDLLStatus and it returned a message only containing a VI name. Without anything else, to explain some error or so.
So somehow I managed to call a function but only that one worked.
10-17-2008 08:02 AM - edited 10-17-2008 08:03 AM
I would start over and create a project from scratch and create a new build specification for the DLL. Add one function at a time and get them to work.
Is it possible post a screenshot of a DLL export function prototype and the corresponding VI blockdiagram and connector pane?
10-17-2008 08:10 AM - edited 10-17-2008 08:10 AM
I would personally do that too, but unfortunately I don't have a LabView license other than 7.1 so I just have to solve this situation somehow.
The guy that do that job is currently unavailble, but I'm not actually in the mood to wait for him.
10-20-2008 12:10 PM
Have you tried just runnign the 7.1 dll with the 8.5 RTE? Labview 8.5.1 will open up/run files from 7.1 with no problem, so a rebuild shouldn't be necessary.
Also, as previously stated, I would try building from scratch in the 8.5 environment, but seeing as how thats not an option right now, we will skip that possibility.
10-20-2008 12:25 PM - edited 10-20-2008 12:29 PM
Chris,
I don't believe your statement is correct. Each version of an exe/dll has always required that the version of the runtime match what was used to build the exe/dll. The 8.5 development system will, of course, open a 7.1 VI with the block diagram but not even the development system can open or run an exe/dll created with an older version. No block diagram means it cannot be compiled.
vulpe,
While 7.1 is not certified for Vista, some users have reported success. Have you tried to install the 7.1 runtime?
10-20-2008 01:05 PM
You're 100% correct Dennis, that was a silly Monday morning mistake on my part.
vulpe, I also agree that you should TRY the 7.1 RTE on Vista. Though its not technically supported, that only means that we have not done extensive testing on the product, it can still work on a Vista OS.
10-20-2008 01:24 PM
Yes, I have tried with RTE 7.1 with no success.
But what about cvirte.dll, is still needed in 8.5?
10-20-2008 01:37 PM