LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Borland C++ 4.52 and LabWindows/cvi

I am using Borland C++ 4.52 compile to compile a sample code of LabWindows/CVI 5.5 (i.e. sample 5.5). It was compiled and liked, and a exe file was created. However, when I run the excutable file, nothing happend. the code started, then stoped, no any error or message. Could you let me know why?
0 Kudos
Message 1 of 3
(3,151 Views)
Not sure why it does it, but this may help...

What I suspect is happening is that the CVI RTE is not being loaded and your exe is returning at that point. Thats all I can think of at the moment.

You do have the CVI RTE installed on the machine you are compiling the Borland code haven't you ?

Actually, the above is not going to be much help if you don't have the CVI RTE installed, since the OS should have moaned when you started the EXE that a library required by your example could not be found.

Are you able to single step the code from within Borland ? Does it get into the main ?

Hope this helps

Chris
0 Kudos
Message 2 of 3
(3,151 Views)
The CVI Runtime engine must be loaded. To do this you need to include
the following function call at the beginning of your program:

InitCVIRTE (hInstance, 0, 0)

>
> I am using Borland C++ 4.52 compile to compile a sample code of
> LabWindows/CVI 5.5 (i.e. sample 5.5). It was compiled and liked, and a
> exe file was created. However, when I run the excutable file, nothing
> happend. the code started, then stoped, no any error or message. Could
> you let me know why?
0 Kudos
Message 3 of 3
(3,151 Views)