This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Rebase 1.5-1: Causes invalid page fault
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/