LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I find out somehow if an exe was build by LabWindows?

Solved!
Go to solution

so, does anybody know if and how it is possible?

 

Thanks and greetings

Christian

0 Kudos
Message 1 of 7
(4,383 Views)
If you run Micorosoft's depends.exe and it shows the program is dependant on cvirte.dll then it was definitely built with some version of LabWindows.
0 Kudos
Message 2 of 7
(4,376 Views)

Where do I find depends.exe?

 

Okay, and if it is not dependant to cvirte.dll it was definitely not build with LW?

And how do this and probably cvirt.dll get into the system32 folder? The program has no installer...

 

But anyway thats what I was asking about. Thank you!!

Greetings,

Christian

0 Kudos
Message 3 of 7
(4,355 Views)
Solution
Accepted by topic author chrismas

Depends.exe is included in the Windows SDK, which is included in the CVI Full Development System and the NI Developer Suite (but not in the CVI Base package).  You need to do a custom install of CVI to install the SDK.  It's not installed by default.  Depends.exe will be in ..\CVI\sdk\bin.

 

As cymrieg says, all applications built with CVI depend on the CVI run time module.  If it doesn't need cvirte.dll, it wasn't built with CVI.

 

You can also open the .exe file using notepad, and search for cvirte.dll.

 

You can download the run-time with installer here:

http://joule.ni.com/nidu/cds/fn/p/sn/n17:runtime,n23:4.1627

Message 4 of 7
(4,337 Views)
additionally, the dependency walker (depends.exe) is available as a separate tool to be downloaded here.
0 Kudos
Message 5 of 7
(4,322 Views)

I just wanted to point out, in case it's important, that while it's true that all CVI-built binaries depend on cvirte.dll, just because a binary depends on cvirte.dll, this does not mean that it was built with CVI.

 

Luis

0 Kudos
Message 6 of 7
(4,256 Views)

I wrote a CVI application to do just that.  The heart of it is the findstr command.  You can simply navigate to the dir where the file is and do the following in a CMD window:  findstr /m /s "CVI_" *.exe

 

(from a console or cmd window type: help findstr)

 

The string "CVI_" occurs in every CVI application that I have created.  It is stored in the exe in string form.

 

This command is recursive.. it will search the current and all sub-directories.

 

Gromit

0 Kudos
Message 7 of 7
(4,093 Views)