Re: mlang: Implement IMultiLanguage2::ConvertStringInIStream.

2008-11-10 Thread Dmitry Timoshkov
"Hans Leidekker" <[EMAIL PROTECTED]> wrote: > +while (1) > +{ > +hr = IStream_Read(pstmIn, src, sizeof(src), &bytes_read); > +if (FAILED(hr)) goto exit; > + > +srclen = bytes_read; > +dstlen = buffer_size; > +ConvertINetString(pdwMode, dwSrcEncoding,

Re: [ole32/tests] Don't crash on NT4

2008-11-10 Thread Dmitry Timoshkov
"Paul Vriens" <[EMAIL PROTECTED]> wrote: > static HENHMETAFILE create_emf(void) > { > RECT rect = {0, 0, 100, 100}; > +const RECT rect2 = {0, 0, 100, 100}; > HDC hdc = CreateEnhMetaFile(NULL, NULL, &rect, "HENHMETAFILE Marshaling > Test\0Test\0\0"); > -ExtTextOut(hdc, 0, 0, ETO_OP

valgrind warning in "advapi32/tests: Add tests for QueryServiceStatusEx."

2008-11-10 Thread Dan Kegel
Hi Paul, in your change of 21 Aug 2008, http://source.winehq.org/git/wine.git/?a=commit;h=794752200131184506e84939ac13a8e68f772879 valgrind has found something to complain about: ==7145== Conditional jump or move depends on uninitialised value(s) ==7145==at 0x4734514: RtlAllocateHeap (heap.c:1

Re: Please, look at my patch, I'm not sure it's correct

2008-11-10 Thread Vitaly Perov
> 2008/10/31 Vitaly Perov <[EMAIL PROTECTED]>: > > This patch add a stub implementation of IMarshal interface. > > > > I have no experience at implementing interfaces, so I'm not sure it's > > implemented correctly. > > Please, look at this patch. I'll be grateful for any remarks. > > What makes yo

Re: Solution for bug 15942 - Send page size with lpr command on printing

2008-11-10 Thread L. Rahyen
On Monday November 10 2008 08:17:00 Massimo Del Fedele wrote: > Ok, I left it there commented just to show the small change... I'll drop > it. Shall I repost the patch ? Yes.

Re: Solution for bug 15942 - Send page size with lpr command on printing

2008-11-10 Thread Massimo Del Fedele
Austin English ha scritto: > On Sun, Nov 9, 2008 at 6:48 PM, Massimo Del Fedele <[EMAIL PROTECTED]> wrote: >> Send page size with 'lpr' command to CUPS, so it doesn't take always the >> default one. >> Solves bug 15942. >> >> Max >> >> >> >> > > +//sprintf(psCmd,"|lpr -P'%s'",pszOutput+4);