Make sure you've got CVI installed in the right
compatibility mode on your machine. Open CVI and from the
project window select the Build Options dialog in the
Options menu. One of the fields in that dialog is the
compatibility mode. If it's not borland, you have to run
the CVI installer again and change compatibility modes.
This'll copy the correct versions of cvirt.lib etc into your
c:\cvi\extlib folder. Judging from your problems, you've
probably got CVI installed in MSVC mode.
If you're using functions from CVI in your borland program
you have to link to cvirt.lib eg. if you're using the CVI
user interface library.
Also, you shouldn't have to change #includes in your program
as long as you _don't_ incl
ude c:\cvi\include\ansi in your
search path in the borland IDE.
Hope this helps,
Peter
deli
writes:
> removed CVIRT.LIB
>
> Error: 'C:\CVI\EXTLIB\EASYIO.LIB' contains invalid OMF record, type
> 0x21 (possibly COFF)
>
> The CVI book says dont use incremental linker
> It does not say what I should use.
> Can you help.
-- Peter Ilberg