delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/18/19:03:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 18 Jun 2002 16:26:39 -0400
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: Rebase 1.5-1: Causes invalid page fault
In-reply-to: <14931402774.20020618180431@syntrex.com>
To: cygwin AT cygwin DOT com
Mail-followup-to: cygwin AT cygwin DOT com
Message-id: <20020618202639.GC2064@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <20020618153547 DOT 16867 DOT qmail AT web21010 DOT mail DOT yahoo DOT com>
<14931402774 DOT 20020618180431 AT syntrex DOT com>

On Tue, Jun 18, 2002 at 06:04:31PM +0200, Pavel Tsekov wrote:
> You printed just the first argument.  There is a total of 11 arguments
> to this function.
> 
> BOOL ReBaseImage(
>   PSTR CurrentImageName,  
>   PSTR SymbolPath,      
>   BOOL fReBase,          
>   BOOL fRebaseSysfileOk,  
>   BOOL fGoingDown,       
>   ULONG CheckImageSize,  
>   ULONG *OldImageSize,  
>   ULONG_PTR *OldImageBase,  
         ^^^^
         ****
>   ULONG *NewImageSize,  
>   ULONG_PTR *NewImageBase,  
         ^^^^
         ****
>   ULONG TimeStamp        
> );

The ULONG_PTR above is causing me some concern.  Note that the above
signature does *not* agree with the header file (either MinGW or MSVC)
and I cannot find the definition of ULONG_PTR.  Is the above a typo in
the MSDN or are OldImageBase and NewImageBase really suppose to be a
pointer to pointer?

Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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