revalNG / omnithreadlibrary

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

DsiAllocateHWnd produces a error due to DSiClassWndProc #77

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have a MS Outlook AddIn and have to init some BackgroundWoker on StartUp. 

If i test and run it under Win 8.1 with Outlook 2013 (32/64 bit) i get a error 
Message:
"Unable to create DsiWin32 hidden window..."

My behavior is exactly the same as:
http://www.devsuperpage.com/search/Articles.aspx?G=2&ArtID=102468

To solve it:
If i replace the procedure Header of 
function DSiClassWndProc(Window: HWND; Message: cardinal; aWParam, aLParam: 
longint): longint; stdcall;
to
function DSiClassWndProc(Window: HWND; Message: cardinal; aWParam: WPARAM; 
aLParam: LPARAM): longint; stdcall;

then it works!

You can find it in the DSiWin32 Unit (currently at line 5610).

Please fix it as soon as possible!

Thanks, Andreas

Original issue reported on code.google.com by andreas....@gmail.com on 25 Feb 2015 at 10:46

GoogleCodeExporter commented 8 years ago
Duplicate of issue #62

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