From: Matthew Mastracci Newsgroups: comp.os.msdos.djgpp Subject: Re: COM Update Date: Wed, 10 Sep 1997 08:13:39 -0600 Organization: The University of Calgary Lines: 23 Message-ID: <5v6a0b$d7a@ds2.acs.ucalgary.ca> References: <5v3u1d$qak AT ds2 DOT acs DOT ucalgary DOT ca> <3415bdc7 DOT 0 AT 204 DOT 101 DOT 95 DOT 15> NNTP-Posting-Host: mmastrac AT acs2 DOT acs DOT ucalgary DOT ca Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <3415bdc7.0@204.101.95.15> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On 9 Sep 1997, Colin Walsh wrote: > > Whoops- looks like I was a little hasty saying that the objects could > > be stored in .DXE files. I didn't realize that a .DXE has to be > > single-section. I think I may be able to compile the drivers as .EXE > > files, have them create an instance of the class and call an interrupt to > > pass the selector:offset of the class's pointer to the main program. This > > way, there isn't a "proxy" between function calls (they call the class > > functions as if the class was allocated in the program). > > I may know of a solution to your DXE problem. A friend of mine, Luke Bishop, has made a dynamic library > type called DLX, and, it can support multiple functions. I've read through the DLX specs/source and it's very interesting. I think I'll be able to pass class pointers back and forth between the main .EXE and the .DLX with a bit of work. Thanks for the pointer... /\/\att /\/\astracci mmastrac AT acs DOT ucalgary DOT ca GCS/GE d- s+:+ a--- C++++ UA P+ L E-- W+ N++ o K+ w+ O M- V PS++ PE++ Y+ PGP t+++ 5+++ X++ R++ tv+ b+++ DI++++ I G++ e h r* z?