V
Vladimir Perkic
Hi everybody!
Does anybody know why Borland C++ 5.5 reports errors at line:
CreateWindow ("button", "One",
WS_CHILD| WS_VISIBLE| BS_PUSHBUTTON,
20, 8, 75, 25, hwnd, (HMENU)IDBT_ONE, hInst, NULL);
error is at '(HMENU)IDBT_ONE': cannot convert 'void *' to
'HINSTANCE__ *'...
Borland C++ 4.5 compile this code without any errors or warnings.
Thank you in advance
Does anybody know why Borland C++ 5.5 reports errors at line:
CreateWindow ("button", "One",
WS_CHILD| WS_VISIBLE| BS_PUSHBUTTON,
20, 8, 75, 25, hwnd, (HMENU)IDBT_ONE, hInst, NULL);
error is at '(HMENU)IDBT_ONE': cannot convert 'void *' to
'HINSTANCE__ *'...
Borland C++ 4.5 compile this code without any errors or warnings.
Thank you in advance