www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/06/23:28:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990807032454.11049.qmail@hotmail.com>
X-Originating-IP: [207.172.79.78]
From: "Harold Weissfield" <h_weissfield AT hotmail DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Memory Violation With Windres and Shared Data Segments
Date: Sat, 07 Aug 1999 03:24:53 GMT
Mime-Version: 1.0

>I believe the only difference is that it has the "SHARED" bit set in
>the section attributes, in addition to the usual initialized data,
>read-write, etc flags.
>
>Can someone send me a testcase so I can see if my local changes fix this
>or not? If it's obvious already, I know nothing about these shared
>segments.
>
>Regards,
>Mumit

Thank you for your help, Mumit, Chris, and Anders.  I will try to experiment 
around with the information that you guys have provided, and I shall reply 
back if I find any favorable results.

In case you are wondering why I'm doing this, I am writing a shell 
replacement for Explorer for our lab at school, and one of the 
implementation details involves creating a global hook using 
SetWindowsHookEx().  Unfortunately, the requirements for having such a hook 
involve having a shared data segment in a DLL, so that is the dilema that I 
am presently trying to solve.

Mumit, I am not aware of the proper procedures for submitting code, so 
forgive me if my approach is mistaken.  During the process of developing 
this shell, I noticed that the following notification messages for the 
appbar were not in shellapi.h

#define ABN_STATECHANGE    0x0000000
#define ABN_POSCHANGED     0x0000001
#define ABN_FULLSCREENAPP  0x0000002
#define ABN_WINDOWARRANGE  0x0000003

Please feel free to add them to the headers at your convenience.  Meanwhile, 
I thank you once again, and I shall get busy on my coding.

Cheers,
Harold Weissfield


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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