I am making a linked list with this struct:
Code:
typedef struct _item{
	int index;
	HWND hParent;
	HWND hChild;
	char * Name;
	struct _item * next;
} item, *pitem;
I am having troubles with a hwnd pointer.
like:
Code:
pitem something;
something->index = 1;
some->hParent = CreateWindowEx(0,szClassName,
                             "test",WS_OVERLAPPEDWINDOW,
                            CW_USEDEFAULT, CW_USEDEFAULT, 
                              500, 500, hwnd, 0, gInstance, 0);
^freezes the program.
ANyone could point me into the right direction it would be
appreciated