I'm trying to write a dll in Borland for use in LabVIEW, where at a certain point the dll will set an Occurrence.
I've referred to "Setting Occurrences from C in Windows", and followed the instructions. The problem is that I get the error "LABVIEW.LIB contains invalid OMF record, type 0x21 (possibly COFF)". Now I know that this means that the lib was created for Visual C, and not Borland - but what can I do about it? I've tried coff2omf supplied with Borland, but I get a truncated lib file; I would try implib, but I don't have the dll file, only the lib.
Is there a way to convert labview.lib to a format that Borland can use (I'm using BCB 6.0), or is there a borland version of labview.lib available?