HornyHorse79 / mirotr

Automatically exported from code.google.com/p/mirotr
1 stars 0 forks source link

64 bit portability #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Just checked out r14 and built on 64 bit. Working pretty well, thanks for that!

I did have to make some changes, though:
  * for GetWindowLongPtr, not only the function name changed, but also the constant names. GWL_USERDATA does not exist in Win64, GWLP_USERDATA should exist on both Win32 and Win64
  * same applies to GCL_HICON and possibly others
  * there was an instance (of GWL_USERDATA I believe) where you used Get/SetWindowLong instead of Get/SetWindowLongPtr
  * libgcrypt used DWORD instead of SIZE_T for working set size
  * MIRANDAHOOK functions must return int but MIRANDASERVICE functions must return INT_PTR

I have attached a patch which shows all my fixes. This patch also includes some 
newline changes that Visual Studio insisted on, and the fix for the next issue 
I'm going to post (Policy setting type word vs dword). Sorry for that, but I'm 
too lazy to fiddle thoses apart.

Original issue reported on code.google.com by thfabba@gmail.com on 15 Sep 2010 at 10:06

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Just changed the owner ;)

Original comment by andreas....@student.kit.edu on 16 Sep 2010 at 1:20