[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
address@hidden: Re: emacs-cvs built on Windows XP crashes on Windows 200
From: |
Richard Stallman |
Subject: |
address@hidden: Re: emacs-cvs built on Windows XP crashes on Windows 2000] |
Date: |
Wed, 04 Sep 2002 22:47:35 -0400 |
Can someone who uses Windows see if this is right, and install it if so?
------- Start of forwarded message -------
Envelope-to: address@hidden
Delivery-date: Wed, 04 Sep 2002 09:07:14 -0400
To: address@hidden
Subject: Re: emacs-cvs built on Windows XP crashes on Windows 2000
From: "Peter 'Luna' Runestig" <address@hidden>
In-Reply-To: <address@hidden>
Sender: address@hidden
Date: 04 Sep 2002 15:05:43 +0200
This is a quick hack to make it roll again:
diff -urN emacs-cvs.orig/src/emacs.c emacs-cvs/src/emacs.c
- --- emacs-cvs.orig/src/emacs.c Wed Aug 28 08:28:30 2002
+++ emacs-cvs/src/emacs.c Wed Sep 4 14:38:07 2002
@@ -1536,6 +1536,19 @@
keys_of_window ();
}
+#ifdef HAVE_NTGUI
+ {
+ /* these must be initialized every run time */
+ extern FARPROC track_mouse_event_fn;
+ extern FARPROC get_menu_item_info;
+ extern FARPROC set_menu_item_info;
+ HMODULE user32 = GetModuleHandle ("user32.dll");
+ track_mouse_event_fn = GetProcAddress (user32, "TrackMouseEvent");
+ get_menu_item_info = GetProcAddress (user32, "GetMenuItemInfoA");
+ set_menu_item_info = GetProcAddress (user32, "SetMenuItemInfoA");
+ }
+#endif /* HAVE_NTGUI */
+
if (!noninteractive)
{
#ifdef VMS
Cheers,
- - Peter
- --
Peter 'Luna' Runestig (fd. Altberg), Sweden <address@hidden>
PGP Key ID: 0xD07BBE13
Fingerprint: 7B5C 1F48 2997 C061 DE4B 42EA CB99 A35C D07B BE13
AOL Instant Messenger Screenname: PRunestig
_______________________________________________
Bug-gnu-emacs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------
- address@hidden: Re: emacs-cvs built on Windows XP crashes on Windows 2000],
Richard Stallman <=