delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/12/16:15:20

Message-ID: <3995AD21.5B3C2BB1@addr.com>
From: Ardy Falls <ardy AT addr DOT com>
X-Mailer: Mozilla 4.74 [en]C-CCK-MCD NSCPCD47 (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DXE Question
References: <3994B1F5 DOT 32956831 AT addr DOT com> <200008120907 DOT FAA12500 AT delorie DOT com>
Lines: 26
Date: Sat, 12 Aug 2000 13:01:37 -0700
NNTP-Posting-Host: 63.196.4.113
X-Complaints-To: abuse AT pacbell DOT net
X-Trace: news.pacbell.net 966110588 63.196.4.113 (Sat, 12 Aug 2000 13:03:08 PDT)
NNTP-Posting-Date: Sat, 12 Aug 2000 13:03:08 PDT
Organization: SBC Internet Services
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I was wondering if there was a way to dynamicly allocate memory in a dxe
file, because new and malloc dont work, they cause unresolved external
errors wehn you try to make them into dxes
            tHNAKS,
                Ardy
            http://www.addr.com/~ardy/

Eli Zaretskii wrote:

> > From: Ardy Falls <ardy AT addr DOT com>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Fri, 11 Aug 2000 19:09:57 -0700
> >
> > Hi I'm trying to make a dxe function that passes pointers to other
> > functions within that .o file.
> > here is the source code
> >
> > these to files are compiled this way
> >
> > gxx -o dxetest.exe dxetest.c
> > gxx -c test.c test.o
> > dxegen test.dxe _Funct_Init test.o
>
> Could you please tell what, if any, are your problems with that?  It's
> very hard to guess, you know...

- Raw text -


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