LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cvirte.dll and Windows Vista

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?

0 Kudos
Message 1 of 11
(3,941 Views)

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?

Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 11
(3,931 Views)

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.

 

 

0 Kudos
Message 3 of 11
(3,925 Views)

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?

Message Edited by andre.buurman@carya on 10-17-2008 03:03 PM
Regards,
André (CLA, CLED)
0 Kudos
Message 4 of 11
(3,923 Views)

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.

 

 

Message Edited by vulpe on 10-17-2008 08:10 AM
0 Kudos
Message 5 of 11
(3,920 Views)

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.

Chris Van Horn
Applications Engineer
0 Kudos
Message 6 of 11
(3,891 Views)

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?

Message Edited by Dennis Knutson on 10-20-2008 11:29 AM
0 Kudos
Message 7 of 11
(3,889 Views)

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. 

Chris Van Horn
Applications Engineer
0 Kudos
Message 8 of 11
(3,872 Views)

Yes, I have tried with RTE 7.1 with no success.

 

But what about cvirte.dll, is still needed in 8.5?

0 Kudos
Message 9 of 11
(3,867 Views)
Both LabVIEW and CVI use the CVIRTE.dll, so its strange that you don't have that library in your system32 directory.
Chris Van Horn
Applications Engineer
0 Kudos
Message 10 of 11
(3,861 Views)