Does anyone know whats wrong with this line of code because I cannot figure it out.

"dir" is a textbox containing the directory.

Code:
	int temp;
	char wtxt[25];
	HWND fhwnd;
	WIN32_FIND_DATA fd;

temp = GetWindowText(dir, wtxt,25);

fhwnd = FindFirstFile(wtxt,&fd);
this is the error I get:

cannot convert from 'void *' to 'struct HWND__ *'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast