From: Laurence Withers Newsgroups: comp.os.msdos.djgpp Subject: The DXE mechanism - has anybody used it effectively? Date: Tue, 22 Dec 1998 16:41:19 +0000 Organization: IP Message-ID: NNTP-Posting-Host: lwithers.demon.co.uk X-NNTP-Posting-Host: lwithers.demon.co.uk:194.222.80.1 X-Trace: news.demon.co.uk 914344951 nnrp-09:7598 NO-IDENT lwithers.demon.co.uk:194.222.80.1 X-Complaints-To: abuse AT demon DOT net MIME-Version: 1.0 X-Newsreader: Turnpike (32) Version 4.00 Lines: 30 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, I'm writing a game, OPES (see sig), which will use some sort of run-time script. Currently, I'm planning to use the Seer library to implement this, but it looks a bit over-complicated for what I would like to use it for. In the FAQ, we are told that the DXE mechanism is extremely simple (which is what I'm looking for), that you can't unload modules (not a problem) and that you can't access variables in the main executable (there aren't any global variables; it's C++ with classes). The only thing that may be problematic is that you can't access functions in the main program. So, a few questions: 1 - can I create a large module, using several different input files? It is likely that there will be a lot of code in the module. 2 - if I pass a pointer to a function in my C++ code, can the DXE call that function? 3 - will I be able to call the DXE from C++ code (as opposed to C code)? Connected with this, will I be able to write the DXE in C++? Thanks for your help + time, and bye for now, -- Laurence Withers, mailto:lwithers AT lwithers DOT demon DOT co DOT uk Integrated Peripherals Operating System Project Leader || OPES Project Projects' homepage is at: http://www.lwithers.demon.co.uk/ Leader