Sign in to follow this  
wisey

Keyboard and Mouse Input

Recommended Posts

wisey    144
[url="http://ideone.com/gO3wy"]http://ideone.com/gO3wy[/url]

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:

[url="http://ideone.com/r3joy"]http://ideone.com/r3joy[/url]

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
Washu    7829
Did you try [url="http://lmgtfy.com/?q=C2360"]googling[/url] the error messages. Because the very first entry answers your question. Edited by Washu

Share this post


Link to post
Share on other sites
wisey    144
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.

[url="http://ideone.com/bRN80"]http://ideone.com/bRN80[/url]

So this time I tried googling [color=#000066][size=3][background=rgb(240, 240, 240)]error C2146[/background][/size][/color] and [color=#000066][size=3][background=rgb(240, 240, 240)]error C4430[/background][/size][/color] 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
Washu    7829
The most common reason for that error is that you did something like:
[code]
class Something {
}// <-- missing semicolon
[/code]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this