http://bugs.winehq.com/show_bug.cgi?id=90
------- Additional Comments From mstefani@redhat.com 2002-08-29 15:38 ------- Some tips and tricks: * Before you convert the handle to a void do a 'make clean' and a 'make' and save the output to a file. After changing to DECLARE_HANDLE do again a 'make clean' and a 'make' and save the output to a new file. Doing a diff (diff -u) on the two make output files restricts the output to the interesting part. * Don't use WOWHandle16 and WOWHandle32 to do the handle16 <--> handle conversions. Use instead macros like this ones (if applicable): #define HMIDI_32(h16) ((HMIDI)(ULONG_PTR)(h16)) #define HMIDI_16(h32) (LOWORD(h32)) * Put the macros in a private header in the directory of the dll that needs it (or in the file directly if you need it only there).
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://bugs.winehq.com/show_bug.cgi?id=90. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.