On Wed, 06 Oct 2004 16:15:51 +0200, Mladen Turk <[EMAIL PROTECTED]> 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

Reply via email to