Date: Thu, 17 Aug 2000 01:04:48 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: r_maj AT poczta DOT onet DOT pl Message-Id: <5137-Thu17Aug2000010447+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b CC: djgpp AT delorie DOT com In-reply-to: <8ner77$et8$2@info.cyf-kr.edu.pl> (r_maj@poczta.onet.pl) Subject: Re: Odp: calling functions References: <8ndkeb$lt8$5 AT info DOT cyf-kr DOT edu DOT pl> <2950-Wed16Aug2000151610+0300-eliz AT is DOT elta DOT co DOT il> <8ner77$et8$2 AT info DOT cyf-kr DOT edu DOT pl> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Rafal Maj" > Newsgroups: comp.os.msdos.djgpp > Date: Wed, 16 Aug 2000 21:47:23 +0200 > > I wanted to use small plug-ins, but now I think I should use DXE instead. > Can someone send me a little example of DXE program, C++ program using DXE, > and instruction how to compile/build it under RHIDE ? This is explained in the documentation of the library function __dxe_load. The DJGPP FAQ points you in section 22.15 to a zip file with examples of making a DXE. > __PLEASE__ can You write few lines of example, not just tell me to read > DOCs... The documentation is written to avoid the need of explaining the same things again and again here. Please make the minimal effort of reading the available docs. If something is not clear in the docs, please ask specific questions. Most people here don't have enough time to write code for you. Sorry. > What are restrictions of DXE program ? See section 22.15 of the FAQ, I think it explains this very clearly. > > Copy the code from Allegro more faithfully, and it will work for you > > as well. > > I cann't beacause this part of Allegro is written in assembler Unfortunately, what you wanted to do (copy code into a data buffer and call it from there) is impossible without some assembly.