26 Oct
2002
26 Oct
'02
4:59 p.m.
"Dimitrie O. Paun" <dpaun(a)rogers.com> 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 julliard(a)winehq.com