X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.43.159.1 with SMTP id lw1mr56061818icc.9.1435254180449; Thu, 25 Jun 2015 10:43:00 -0700 (PDT) X-Received: by 10.140.38.180 with SMTP id t49mr554953qgt.9.1435254180258; Thu, 25 Jun 2015 10:43:00 -0700 (PDT) Newsgroups: comp.os.msdos.djgpp Date: Thu, 25 Jun 2015 10:43:00 -0700 (PDT) In-Reply-To: <558BA0FF.8000309@gmail.com> Complaints-To: groups-abuse AT google DOT com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=46.5.90.231; posting-account=OsAajgoAAADdKJnkJkmhzqP0jo6I_P_0 NNTP-Posting-Host: 46.5.90.231 References: <201506050742 DOT t557ggR8019445 AT delorie DOT com> <558BA0FF DOT 8000309 AT gmail DOT com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Quake 2 DOS with DX3! From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de)" Injection-Date: Thu, 25 Jun 2015 17:43:00 +0000 Content-Type: text/plain; charset=ISO-8859-1 Bytes: 3688 Lines: 70 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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 On Thursday, June 25, 2015 at 8:35:03 AM UTC+2, Frank Sapone (emoaddict15 AT gmail DOT com) wrote: > Hey all, I got DX3 modules working in Q2DOS. I was pleasantly surprised > to see loading and unloading both worked so you can change game mods at > will. > > The only issue I saw was at link time with DXE3GEN I got some unresolved > issues so I used -U to silence that. > > I used the example code to catch unresolved symbols at dll load time and > had to add this stuff: > > DXE_EXPORT_TABLE (syms) > DXE_EXPORT (printf) > DXE_EXPORT (sprintf) > DXE_EXPORT (tan) > DXE_EXPORT (free) > DXE_EXPORT (strcat) > DXE_EXPORT (strcmp) > DXE_EXPORT (rand) > DXE_EXPORT (ceil) > DXE_EXPORT (_doprnt) > DXE_EXPORT (fwrite) > DXE_EXPORT (strncpy) > DXE_EXPORT (atoi) > DXE_EXPORT (memcpy) > DXE_EXPORT (memset) > DXE_EXPORT (fprintf) > DXE_EXPORT (strtol) > DXE_EXPORT (strdup) > DXE_EXPORT (strcasecmp) > DXE_EXPORT (fread) > DXE_EXPORT (fopen) > DXE_EXPORT (time) > DXE_EXPORT (strtod) > DXE_EXPORT (strchr) > DXE_EXPORT (fclose) > DXE_EXPORT (sscanf) > DXE_EXPORT (memcmp) > DXE_EXPORT (sqrt) > DXE_EXPORT (strtok) > DXE_EXPORT (localtime) > DXE_EXPORT (cos) > DXE_EXPORT (sin) > DXE_EXPORT (strlen) > DXE_EXPORT (errno) > DXE_EXPORT (atan2) > DXE_EXPORT (qsort) > DXE_EXPORT (floor) > DXE_EXPORT (strstr) > DXE_EXPORT (strcpy) > DXE_EXPORT (__dj_ctype_tolower) > DXE_EXPORT (__dj_ctype_toupper) > DXE_EXPORT (__dj_assert) > DXE_EXPORT (atof) > DXE_EXPORT (atan) > DXE_EXPORT (asin) > DXE_EXPORT (vectoangles2) > DXE_EXPORT (crand) > DXE_EXPORT (stpcpy) > DXE_EXPORT_END > > Is there a way around this? Other mods may need more symbols to be > added which could become difficult to maintain. > > Frank No, I had the same problem when I tried to implement dll support for the lua port. AFAIK there is no way to modify this table at run time. This is one of the lots of drawbacks of dxe3. Regards, Juan M. Guerrero