From: cwalsh AT nf DOT sympatico DOT ca (Colin Walsh) Newsgroups: comp.os.msdos.djgpp Subject: Re: COM Update Date: 9 Sep 97 21:21:11 GMT Organization: Colossal Software Lines: 31 Distribution: world Message-ID: <3415bdc7.0@204.101.95.15> References: <5v3u1d$qak AT ds2 DOT acs DOT ucalgary DOT ca> Reply-To: cwalsh AT nf DOT sympatico DOT ca NNTP-Posting-Host: 204.101.95.15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article <5v3u1d$qak AT ds2 DOT acs DOT ucalgary DOT ca> Matthew Mastracci 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 can't see any immediate problems here, but I'll keep everyone posted. > > /\/\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? 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. It can be found at... oak.oakland.edu/pub/simtelnet/gnu/djgpp/v2tk/lbdlx100.zip Hope this helps, Colin Walsh cwalsh AT nf DOT sympatico DOT ca