Hey Guys,
So I'm trying to create my window but hwnd seems to be having issues when its being defined.
This is the error I get when debugging. I have also tried the normal CreateWindow() rather than the Ex one but no difference.
Error picture
http://i.imgur.com/aIkxNc9.png
Heres a copy of the code
https://www.dropbox.com/s/8gd6sisj1m84d62/BotArena.zip
HWND!!! Damn you!!!
Re: HWND!!! Damn you!!!
First of all you haven't inputted any size for your screen. Second you have to register the class before creating a window as the window is created on the class.
So... 1. the wcex stuff, 2. register, 3. create window, 4. check if window is created
PS. had you cleaned your project before uploading, it's size would be 99% smaller and you could have uploaded at planetchili.net, see the read this first post
So... 1. the wcex stuff, 2. register, 3. create window, 4. check if window is created
PS. had you cleaned your project before uploading, it's size would be 99% smaller and you could have uploaded at planetchili.net, see the read this first post
ʕ •ᴥ•ʔ
Re: HWND!!! Damn you!!!
Thanks Lux! That Worked perfectly!LuX wrote:First of all you haven't inputted any size for your screen. Second you have to register the class before creating a window as the window is created on the class.
So... 1. the wcex stuff, 2. register, 3. create window, 4. check if window is created
PS. had you cleaned your project before uploading, it's size would be 99% smaller and you could have uploaded at planetchili.net, see the read this first post