httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: cvs commit: httpd-2.0/support/win32 ApacheMonitor.c
Date Wed, 06 Oct 2004 14:29:46 GMT
On Wed, 06 Oct 2004 16:15:51 +0200, Mladen Turk <mturk@apache.org> wrote:
> Jeff Trawick wrote:
> >>
> >>Please do not do that any more. I'm sorry but I'm vetoing your patches.
> >>Use the official API, it is well documented.
> >
> >
> > strlen() returns size_t, TextOut() requires int; somewhere a cast is
> > required, no?  what is a better solution?
> >
> >
> 
> That's true, but the strlen can never be int (negative).
> The API is DWORD meaning 32 bit unsigned integer, so either
> cast to API or no cast.

I'm confused.  The only TextOut() doc I can find says "int", not
"DWORD."  Can you provide a link?  Here is where I looked:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fontext_5yd0.asp

Mime
View raw message