all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
To: Juergen Fenn <juergen.fenn@GMX.DE>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: No Windows File Dialogue in Win98SE
Date: Mon, 11 Jun 2007 00:27:17 +0100	[thread overview]
Message-ID: <466C88D5.4050101@gnu.org> (raw)
In-Reply-To: <wkd5031r2p.fsf@juergenfenn.de>

Juergen Fenn wrote:
>   I tried to open a file in NTEmacs 22.1 on Windows 98 SE by selecting
>   File|Open File with the mouse. The dialogue did not appear.

Thanks, I think I have found the bug. If you can recompile Emacs (using
the mingw port of GCC, which is also free), then it would help us to
verify that this patch works before the next release.


*** w32fns.c    28 Mar 2007 23:13:00 +0100    1.288
--- w32fns.c    11 Jun 2007 00:24:10 +0100    
***************
*** 7902,7910 ****
      /* Apparently NT4 crashes if you give it an unexpected size.
         I'm not sure about Windows 9x, so play it safe.  */
      if (w32_major_version > 4 && w32_major_version < 95)
!       file_details->lStructSize = sizeof (new_file_details);
      else
!       file_details->lStructSize = sizeof (file_details);
 
      file_details->hwndOwner = FRAME_W32_WINDOW (f);
      /* Undocumented Bug in Common File Dialog:
--- 7910,7918 ----
      /* Apparently NT4 crashes if you give it an unexpected size.
         I'm not sure about Windows 9x, so play it safe.  */
      if (w32_major_version > 4 && w32_major_version < 95)
!       file_details->lStructSize = sizeof (NEWOPENFILENAME);
      else
!       file_details->lStructSize = sizeof (OPENFILENAME);
 
      file_details->hwndOwner = FRAME_W32_WINDOW (f);
      /* Undocumented Bug in Common File Dialog:

  reply	other threads:[~2007-06-10 23:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-10 20:40 No Windows File Dialogue in Win98SE Juergen Fenn
2007-06-10 23:27 ` Jason Rumney [this message]
2007-06-11  5:52   ` martin rudalics
2007-06-11  7:54     ` Jason Rumney
2007-06-11 20:05     ` Eli Zaretskii
2007-06-11 20:31       ` Juergen Fenn
2007-06-11 22:17         ` Jason Rumney
2007-06-12 19:58           ` Juergen Fenn
2007-06-14  6:59       ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=466C88D5.4050101@gnu.org \
    --to=jasonr@gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=juergen.fenn@GMX.DE \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.