LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Labwindows/CVI 7 external Compiler Support Borland

I am using Labwindows/CVI 7 with borland 5.02 compiler. 

In options>build options> 

I switch compatibility mode to Borland C/C++ and default calling convention to _stdcall. when i am compiling the code in CVI it still generates error for dos.h/ bios.h etc. I thought with external compiler support these header files will be compiled in CVI with no error. Is there any way I would be able to use these functions (_bios_timeofday, interrupts, etc) in CVI??

0 Kudos
Message 1 of 3
(1,028 Views)

Hi safeena

Could you please describe the error in more detail, like attaching some screenshots or error code to be clearly understandable? 

 

Regards)

0 Kudos
Message 2 of 3
(981 Views)

Most likely not. These functions starting with an underscore are usually compiler specific extensions that are not defined in any C standard. Setting LabWindows/CVI to be in Borland compatibility mode doesn't mean that it suddenly gains these highly compiler specific functions but rather that it can work with (and generate) OMF libraries instead of the Microsoft COFF format.

Rolf Kalbermatter
My Blog
0 Kudos
Message 3 of 3
(942 Views)