X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=jYrCdI3uVZVK1iffHtjIqFhtH9kUXHLURCdIQFqOvwY=; b=WSs5NOORVbZ/PqipuKx2yTsFV67Gwk0/wR33EE3s2Izn19ZaknYojJqS9ZAPCTVMTl aKxXm0Arb/Xqk7Hd02vbxJphxENqn4owuDDfhRtGpoozwFJKNRYguMGCM2gtowzf2EyV Wm96Nn3LPgwmQ6c6kpGbtjUQ8eYtsPB2UCFEuNNrx3VY7vWr2RQokQ2xnZsKw12GvRUD IcNuG8EySYaTBcUYWa52hcFUEbUL4aZI2QeowTmo2IzDlxrX1WIpKY213o5V32zuV4aG ddVVe2BT0PBpaLX9ew2cQVgGDk8aidqh56qw5Au5j/sKxhQqEkoX8A897GNinfhY8WF0 h9dQ== X-Received: by 10.42.255.200 with SMTP id nj8mr40959486icb.18.1435214082297; Wed, 24 Jun 2015 23:34:42 -0700 (PDT) Message-ID: <558BA0FF.8000309@gmail.com> Date: Thu, 25 Jun 2015 02:34:39 -0400 From: "Frank Sapone (emoaddict15 AT gmail DOT com)" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Quake 2 DOS with DX3! References: <201506050742 DOT t557ggR8019445 AT delorie DOT com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com 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