Re: Clear padding in the buffer due to alignment.

2007-12-16 Thread Robert Shearman
Dmitry Timoshkov wrote: > "Robert Shearman" <[EMAIL PROTECTED]> wrote: > >>> Is it possible to make it 64-bit and Wine/Windows compatible by using >>> ULONG_PTR instead of long? >> >> At the moment, widl doesn't support generating 64-bit compatible >> client, server and proxy code so doing so woul

Re: Clear padding in the buffer due to alignment.

2007-12-16 Thread Dmitry Timoshkov
"Robert Shearman" <[EMAIL PROTECTED]> wrote: >> Is it possible to make it 64-bit and Wine/Windows compatible by using >> ULONG_PTR instead of long? > > At the moment, widl doesn't support generating 64-bit compatible client, > server and proxy code so doing so would be useless. FWIW, MIDL output

Re: Clear padding in the buffer due to alignment.

2007-12-16 Thread Robert Shearman
Dmitry Timoshkov wrote: > "Robert Shearman" <[EMAIL PROTECTED]> wrote: > >> This isn't done in MIDL, but I think it's desirable both for >> silencing Valgrind warnings and for security purposes (fixes >> potential for leaking information to remote computers or other >> processes). > >> +prin

Re: Clear padding in the buffer due to alignment.

2007-12-15 Thread Dmitry Timoshkov
"Robert Shearman" <[EMAIL PROTECTED]> wrote: > This isn't done in MIDL, but I think it's desirable both for silencing > Valgrind warnings and for security purposes (fixes potential for leaking > information to remote computers or other processes). > +print_file(file, indent, "memset(_StubMs