metalseb <met...@fr...> writes:
>
> The errors occurs here :
>
> hHyperLinkWnd= CreateWindowEx(dwExStyle,
> wcex.lpszClassName,
> "",
> dwStyle,
> HypLinkData.cx,HypLinkData.cy,
> size.cx,size.cy,
> hWndParent,
> NULL,
> wcex.hInstance,
> this); <- Here at the "this" pointer passing, compiling crashes
>
> I've tried to pass "NULL" as parameter but same results.
Are you still stuck with this?
My book says CreateWindowEx is:
CreateWindowEx(DWORD ExStyle,
LPCTSTR Classname,
LPCSTR WindowsName,
DWORD Style,
int X,
int Y,
int Width,
int Height,
HWND hParent,
LPCTSTR hMenu,
HINSTANCE hInstance,
LPVOID Param);
I'm surprised that casting each parameter explicitly is not working.
Elizabeth
|