FW: Help debugging a problem!
Marcus Meissner
marcus at jet.franken.de
Thu Sep 29 02:41:18 CDT 2005
On Wed, Sep 28, 2005 at 11:53:28PM +0100, Ann & Jason Edmeades wrote:
> Ok, more information...
>
> The routine (slightly modified to allow code before the return) is
>
> ATOM WINAPI RegisterClass16( const WNDCLASS16 *wc )
> {
> WNDCLASSEX16 wcex;
> ATOM fred;
>
> wcex.cbSize = sizeof(wcex);
> :
> fred = RegisterClassEx16( &wcex );
> return fred;
> }
>
> Advice please.... Anyone...
I think the passed class has "cbClsExtra" extrabytes set and used.
In this case you need to allocate more bytes then just WNDCLASSEX16 and
also copy the extra bytes.
So I guess this function is broken a bit.
This is just a guess, I might be wrong.
Ciao, Marcus
More information about the wine-devel
mailing list