delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/19/06:07:52

From: Tudor <tudor AT cam DOT org>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Using Microsoft C object code with DJGPP/RHIDE
Date: Sat, 18 Jan 1997 18:13:06 -0800
Organization: Communications Accesibles Montreal
Lines: 37
Message-ID: <32E18332.4E15@cam.org>
References: <32DAD173 DOT 7045 AT nottingham DOT ac DOT uk>
Reply-To: tudor AT cam DOT org
NNTP-Posting-Host: dynamicppp-161.hip.cam.org
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019