26 Oct
2002
26 Oct
'02
9:28 a.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.
26 Oct
26 Oct
11:59 a.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
8538
Age (days ago)
8538
Last active (days ago)
1 comments
2 participants
participants (2)
-
Alexandre Julliard -
Dimitrie O. Paun