LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I build distrib-kit in CVI 7.0 on running Win XP that will work on Win 2000?

I am using LabWindows CVI ver 7.0 on an Windows XP system.  The application does not perfrom any data acquistion or use a UIR but does perform lots of file manipulations and present pop-up messages.   I can build a distribution kit that works when installed on other Windows XP machines but does not when installed on Windows 2000 machines.  (Missing DLLs).
 
Is there a way I can build the application distribution kit so that it will work on wither Windows XP or Windows 2000 machines?
 
0 Kudos
Message 1 of 7
(3,665 Views)

Hi sweeneyguidant,

to better help us understand your problem, could you tell us which DLL is missing? Is it a native CVI DLL like cvirte.ddl or some custom dll required by your program?



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 7
(3,639 Views)

Roberto,  THanks for looking into this.  The application does not use anything special so the missing DLLs must be native to CVI or Windows XP. The application simply opens and closes text files, searches for directories/files and copies and delectes files.  All actions are done using the library functions in CVI.   RS

0 Kudos
Message 3 of 7
(3,632 Views)
OK, but which DLL is missing? Can you report us some error message shown by the application, or have you some error-checking routine that clarify the situation?
When working on physical files you have some hints that must be taken into consideration, for example the read-only attribute of some of them (for example if copied from a CD), or privileges on the files themselves and so on: all I/O functions returns error codes if accessing a file go bad: the function involved and the error code can help to understand what's happening.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 4 of 7
(3,625 Views)

Roberto,  I was just now able to run it on a Windows 2000 system to make it fail.  It reports that cvirte.dll was not found in the specified paths  -  it then lists many paths.

0 Kudos
Message 5 of 7
(3,612 Views)
 
 

It seems that the CVI run-time engine is not present in the systema. This may be caused by several reasons:
1. Have included the run-time engine in your distribution kit?
2. Have you installed the application with a user with administrative rights?

Also, take a look at these post: https://forums.ni.com/t5/LabWindows-CVI/Run-time-engine-problem/m-p/157233?requireLogin=False to verify that the rte is installed correctly.
 
You could also try installing the run-time as a separate unit: the rte can be downloaded from here.

Message Edited by Roberto Bozzolo on 02-15-2006 11:07 PM



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 6 of 7
(3,609 Views)

Roberto,  Thank you - you are exactly right!  The rte support was not included in the distribution kit build.  Now everything work fine.  Problem is solved.   RS

0 Kudos
Message 7 of 7
(3,599 Views)