Mail Archives: djgpp/1997/01/19/06:07:52
Dr Arthur Jones wrote:
>
> As something of a raw recruit to DJGPP and RHIDE (and very impressed
> with both of these!) I am trying to find whether I can use DJGPP to write
> some software to control an item of laboratory equipment which involves
> some plug-in hardware (an analog-to-digital converter) which plugs into
> the parallel port of the PC. The ADC comes with a disk of driver
> functions written (I am told) in assembler and callable from Microsoft C.
> The header file for these subroutines consists of two function prototypes
> of the form
>
> extern far function1( int, int, .... )
>
> I've tried loading the object code into a RHIDE project and compiling/
> linking the program, but it gives something like "parse error before ("
> when it gets to the header file and doesn't compile.
>
> Is it fundamentally possible to link MS-C object code into DJGPP? Am I
> missing the obvious, or am I trying to do the impossible?
>
> Any help would be greatly appreciated.
>
AFAIK,no.The obj format used by Borland or Micro$oft is different from
the one used in DJGPP.
Anyway,look into the faq(you could search fot 'obj' ,they say something
there about it).
--
tudor 'at' cam 'dot' org
yoda69 'at' hotmail 'dot' com
http://www.cam.org/~tudor
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d-(--) s(-):(+) a? C+ UL>++++ P L>+++++ E- W++ N o K---(----) w---
O---- M-- V-? PS+++ PE Y PGP t+ 5-- X+++>++++ R tv b+ DI D+ G e->++
h>++ r- y>+++++
------END GEEK CODE BLOCK------
- Raw text -