www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/27/07:30:17

Newsgroups: comp.os.msdos.djgpp
From: "The Cyber God" <talrun AT actcom DOT co DOT il>
Subject: Re: Using COFF files.
Nntp-Posting-Host: p12.haifa4.actcom.co.il
Lines: 35
Message-ID: <Ep1E49.617@news2.new-york.net>
References: <6d63e0$3qm AT news DOT euro DOT net>
Date: Fri, 27 Feb 1998 20:16:34 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I have the same problem!

talrun AT actcom DOT co DOT il

Pieter van Ginkel wrote in message <6d63e0$3qm AT news DOT euro DOT net>...
>I want to create a library that dynamically loads routines from COFF files
>into memory and then returns the pointer to the routines in the COFF file
to
>the program. I've been reading the COFF things from the Delorie DJGPP site
>and there are a few things I don't really understand. Can anybody help me?
>
>* First, How can I just load the whole COFF file into memory and let the
>whole thing run. Is that at all possible or is there more to be done before
>the file runs.
>* I suppose that the entries in the header files are converted to external
>symbols. Do I have to do something's with these?
>* Suppose I open the COFF file, locate a function, load that one into
memory
>and that return the pointer to the begin of that function to the user. I
>don't think that's the right thing to do? If I use functions from the libc
>library, how do I ensure that the routine has access to these? Do I need to
>collect all the pointers to these routines that are already into memory
(the
>loading program) and give them to the function? How do I do this.
>
>Could somebody give me some guidelines so I can get starting at my
loader???
>
>Foxe
>
>pginkel AT westbrabant DOT net
>
>


- Raw text -


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