"Dimitrie O. Paun" <[EMAIL PROTECTED]> writes:

> On October 26, 2002 11:14 am, Matthew Davison wrote:
> > -  chf32a->hInstance=chf16->hInstance;
> > +  chf32a->hInstance=(HINSTANCE)(ULONG_PTR)chf16->hInstance;
> 
> Shouldn't we have a HINSTANCE_32 macro, for uniformity?

No; as a rule you cannot convert HINSTANCE simply by casting. In some
cases you can use the MapHModule functions, in other cases the code
has to be changed to work properly.

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to