CmzSQuid / omnithreadlibrary

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

Problem on Win64 #62

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
latest Version of omni 
Delphi XE6

function DSiClassWndProc(Window: HWND; Message: cardinal; aWParam, aLParam: 
longint): longint; stdcall;
must be:
function DSiClassWndProc(Window: HWND; Message: cardinal; aWParam : WPARAM; 
aLParam: LPARAM): longint; stdcall;

Original issue reported on code.google.com by westerm...@cadwork.de on 20 May 2014 at 8:03

GoogleCodeExporter commented 8 years ago
Ran into problems with this, when using Win64.
Posting a message with aWParam set to a pointer, will return WParam with all 
high bits set, so original pointer $3FFFFFC345 will be returned as 
$FFFFFFFFFFFC345

Original comment by b...@basbex.com on 26 Jun 2015 at 7:31