Oct. 26, 2002
2:28 p.m.
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? -- Dimi.
October 2002
4:59 p.m.
New subject: DSTRICT: commdlg
"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
8553
Age (days ago)
8553
Last active (days ago)
1 comments
2 participants
participants (2)
-
Alexandre Julliard -
Dimitrie O. Paun