Jump to content
  • Advertisement
Sign in to follow this  
wisey

Keyboard and Mouse Input

This topic is 2228 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

http://ideone.com/gO3wy

I'm trying to extend how my app handles input and I don't know why I'm getting trouble with WM_LBUTTONDOWN. The compiler says this:

http://ideone.com/r3joy

Obviously I can't write a test case for a directx app so where do you think i'm going wrong with this?

Please let me know if you need more help, and I do appreciate that you don't have the ide with my project running to test things.

Do you think it could be problems elsewhere because i've updated code in other files too.

--
Wisey

Share this post


Link to post
Share on other sites
Advertisement
Did you try googling the error messages. Because the very first entry answers your question. Edited by Washu

Share this post


Link to post
Share on other sites
Oh thanks Washu

I didn't know you could google the error's like that, thanks. So the first link told me to add some braces which solved the error but now I have more errors.

http://ideone.com/bRN80

So this time I tried googling [color=#000066]

[background=rgb(240, 240, 240)]error C2146[/background] and [color=#000066]

[background=rgb(240, 240, 240)]error C4430[/background] and it didn't really help. There is nothing wrong with the code asaik but i'm probably missing something. Without showing you my entire code base I realize you may struggle to help me.

But I know that some of you guys are very good at reading the output from a compiler. For instance, I used to just copy and paste entire lines from the output. When just the error code will suffice. So I don't know, maybe you can help.

Thanks

--
Wisey

Share this post


Link to post
Share on other sites
The most common reason for that error is that you did something like:

class Something {
}// <-- missing semicolon

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!