www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/06/25/14:00:09

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: <CAA2C=vAsibDAvdNkdGMFC_HeEoEGdrCX_1xTk1yDqbSgebnXdA AT mail DOT gmail DOT com>
<201506050742 DOT t557ggR8019445 AT delorie DOT com> <CAA2C=vDqj=4LE+rc5FiUoFfzKqD3h6Ru-q6gNmAHY+tjMJ=1sQ AT mail DOT gmail DOT com>
<CAA2C=vASsjartzfLp1T9RRix9ea-B5q_nVzzUj3ZgiJujphuNw AT mail DOT gmail DOT com>
<CAA2C=vD3F==DAp1ESJQ7PtBuES7Aw3DBWL6E8gBo1yy778G53A AT mail DOT gmail DOT com>
<CAA2C=vB7B6t6XOiSdAqubtZg04Mw3MW4=15wrj33HR-P1y2qdw AT mail DOT gmail DOT com>
<f05e58ed-6460-4d25-bfcc-db6609c765c4 AT googlegroups DOT com> <558BA0FF DOT 8000309 AT gmail DOT com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a32dbfc7-3db1-4f8b-9483-d1c2bdddd4ea@googlegroups.com>
Subject: Re: Quake 2 DOS with DX3!
From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de)" <djgpp AT delorie DOT com>
Injection-Date: Thu, 25 Jun 2015 17:43:00 +0000
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

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

- Raw text -


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