Win32API Window and Tango

Zarathustra adam.chrapkowski at gmail.com
Wed Aug 27 14:08:20 PDT 2008


Thanks Denis
I tested Tango 0.96 bundled with DMD1.033 = assertion error
            Tango 0.97 bundled with DMD1.033 = assertion error
            
Tango 0.96 bundled with DMD1.027
function tango.sys.win32.UserGdi.CreateWindowExA (uint,char*,char*,uint,int,int,int,int,void*,void*,void*,void*) does not match parameter types (int,char*,char*,uint,int,int,int,int,uint,void*,void*,void*)

because:
at Tango0.96 and Tango0.97 HWND_DESKTOP constant is defined as:
HWND_DESKTOP = cast(HWND)0; // void*

at Tango0.95 HWND_DESKTOP constant is defined as:
HWND_DESKTOP = (0); // uint

When I changed HWND_DESKTOP to cast(HWND)0 or just cast(HWND)null then program works with Tango0.95 bundled with DMD1.027

I can not test Tango0.95 with DMD1.033 because last release of Tango0.95 is bundled with DMD1.027.


More information about the Digitalmars-d-learn mailing list