02-27-2023 05:37 AM
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??
03-01-2023 07:23 AM
Hi safeena,
Could you please describe the error in more detail, like attaching some screenshots or error code to be clearly understandable?
Regards)
03-07-2023 07:42 AM
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.