From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Windows 9X without KernelEx Date: Sun, 16 Jun 2024 10:01:29 +0800 Message-ID: <87wmmp4pdy.fsf@yahoo.com> References: <875xub8sn8.fsf.ref@yahoo.com> <875xub8sn8.fsf@yahoo.com> <8634pfy289.fsf@gnu.org> <87sexe7sgm.fsf@yahoo.com> <87o7827r1t.fsf@yahoo.com> <86ed8ywuoz.fsf@gnu.org> <87frte7jry.fsf@yahoo.com> <86a5jmwt2r.fsf@gnu.org> <874j9u7dla.fsf@yahoo.com> <86h6dutirt.fsf@gnu.org> <875xua5lxs.fsf@yahoo.com> <86bk42tfw7.fsf@gnu.org> <868qz6tctn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23078"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: stefankangas@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 16 04:02:40 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sIfE7-0005pm-Ft for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Jun 2024 04:02:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sIfDH-0004Qp-0E; Sat, 15 Jun 2024 22:01:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sIfDF-0004QT-BZ for emacs-devel@gnu.org; Sat, 15 Jun 2024 22:01:45 -0400 Original-Received: from sonic308-10.consmr.mail.ne1.yahoo.com ([66.163.187.33]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sIfDD-0003Sp-AL for emacs-devel@gnu.org; Sat, 15 Jun 2024 22:01:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1718503299; bh=qkoVj751td3Q1D/e5rGzrTwg1piA9qoRQ4q00DUn41o=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=q9ZV4Gy5cxbLuooq1Nz2nPFW461DMI4giFATC/MDbur3AS+5dT8oOhPaWqEvceZ0iXp68uunXDo4KjUdbkoOuVUKhILgmrMBSf6R8ydxl51iD9k/fVp/XYwnJblsBM8j8emO1Koo6l7vNfzhVh/bBbYEcdNpFQajQxi4LLR/89jC+imQIZy2CrQ16b3+Uk5KaHVDPpS+V4hxhmTEgJyS6dmow770W9xomPsGPLmnSDFWgOFbpEBmrVRHFzgblwHHPJxzwQz8yiDzqKaw3NGv8bFVSll4/W03rtiCjSEIphUA6REOT/cDZJAvqI7lKhd06QpAPOHUNws9PXvQx79v6w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1718503299; bh=l+/iuHPLYKoRp0FxKmnDWIU+Yjj4OAwXu7bhUTWEoua=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=al7pZHNJIdP41hO/zrou4G9YOVdXuPf3MEzT/DCbpmpV6HELqSaInaJckG8s1qMOPAVbLbw4n8lA0EmZPZg+krz214HoPtk+c1HJNgrG+qln2vKuonuAj7CiS8jbCuSi6v0ILtB2oubrVfySC7UIr2TGXa/AnqBbm8sDFsFzLg2nY8UICA7xv1nx/qSCf7joUSMm0HksgI8VnpXIn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ail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Sun, 16 Jun 2024 02:01:39 +0000 Original-Received: by hermes--production-sg3-7b469d9f6-xkjgb (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c2e8a97b790ac87d82077eac7d5dcfdc; Sun, 16 Jun 2024 02:01:35 +0000 (UTC) In-Reply-To: <868qz6tctn.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 15 Jun 2024 19:01:24 +0300") X-Mailer: WebService/1.1.22407 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.187.33; envelope-from=luangruo@yahoo.com; helo=sonic308-10.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:320172 Archived-At: Eli Zaretskii writes: > The GDI32.DLL part is specific to the functions used by w32font.c. > But the idea is general: all of the APIs that we call directly are > supposed to be present in some system DLL, even though some of them > have stub implementations. For example, I have SHELL32.DLL (dated Sep > 1998!) from my old Windows 9X system, and in it I see both > ShellExecuteW and SHFileOperationW exports. Mine reports a creation time of May 11th 1998, but upon running `nm' I see that it indeed exports those two functions, and a test program compiled in MinGW: int main () { extern int ShellExecuteW (); extern int SHFileOperationW (); char *x = (char *) &ShellExecuteW; char *y = (char *) &SHFileOperationW; } starts and exits with no error dialog, and yet Emacs still does not link if it imports either symbol. Might there perhaps be symbol versioning mechanisms or parameters in object files that influence its view of external symbols? I'm lost, sorry. > What prevents us from calling globals_of_w32 before > w32_init_current_directory? It resets numerous other variables and also initializes the "console ctrl handler", which gave me plenty of pause.