delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/09/22:22:05

From: computerwizard AT my-deja DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP and DataEase CDFs
Date: Fri, 10 Dec 1999 01:51:01 GMT
Organization: Deja.com - Before you buy.
Lines: 76
Message-ID: <82pma4$vum$1@nnrp1.deja.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 991130090355 DOT 24907B-100000 AT is> <42X04.864$AD5 DOT 16387 AT nnrp4 DOT clara DOT net>
NNTP-Posting-Host: 216.192.70.104
X-Article-Creation-Date: Fri Dec 10 01:51:01 1999 GMT
X-Http-User-Agent: Mozilla/4.7 [en]C-DIAL (WinNT; U)
X-Http-Proxy: 1.0 x26.deja.com:80 (Squid/1.1.22) for client 216.192.70.104
X-MyDeja-Info: XMYDJUIDcomputerwizard
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Matt:

You've hit the nail right on the head -- DEDOS is 16-bit and will
probably remain so. DataEase for Windows (DFW) is still also a 16-bit
product, but will probably go 32-bit late next year.

Either way, it still needs a 16-bit .exe (for the DOS product) or .dll
(for DFW). What are you trying to accomplish? There are a number of
libraries out there, and some guys who write bespoke CDFs....

Drop by the discussion group at http://www.plmconsulting.com for more
info.


Lawrence Fox
ComputerWizard Consulting
Thornhill, ON

http://www.computerwizardonline.com

In article <42X04.864$AD5 DOT 16387 AT nnrp4 DOT clara DOT net>,
  "Matt Pemberton" <matt AT pembers DOT freeuk DOT com DOT spamless> wrote:
> Thanks to both yourself and Damian for the advice. I probably should
have
> explained that DataEase is a DOS-based database package. CDF's are a
way of
> achieving things which it's built-in language, DQL, can't do, by using
a
> 'proper' programming language. Based on your advice and other
information I
> have come to the decision that my problem lies with the fact that
DataEase
> is a 16-bit application and so it probably expects things like CDF's
to be
> compiled using a 16-bit compiler. So I'll probably try Borland Turbo C
2
> (circa 1989), which I can get for free from Borland's website :-).
Hopefully
> that should solve the immediate problem at least.
>
> Thanks again for the advice,
>     Matt
>
> Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote in message
> news:Pine DOT SUN DOT 3 DOT 91 DOT 991130090355 DOT 24907B-100000 AT is...
> >
> > On Sun, 28 Nov 1999, Matt Pemberton wrote:
> >
> > >     I am trying to create a Custom Defined Function for DataEase
> (Version 5,
> > > 16M edition).
> >
> > What is DataEase?  Does it come as an object file library?  If so,
> > your problem is much more serious than what you seem to think:
linking
> > DJGPP with object files produced by other compilers usually doesn't
> > work.  See section 17.5 of the DJGPP FAQ for more details.
> >
> > > The DataEase manual tells me I can do this 'in any language
> > > which supports the use of far pointers and the pascal calling
> convention'.
> >
> > To get functions that use Pascal calling convention, use the
`stdcall'
> > attribute, it's described in the GCC docs.  As for `far', simply
> > define it away; section 17.7 of the FAQ shows how.
> >
> > But the fact that DataEase wants `far' probably means that it uses
> > either real-mode code or 16-bit protected-mode code.  Both are
> > incompatible with DJGPP.
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


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