Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

Endurion

Member Since 21 Feb 2002
Offline Last Active Today, 01:57 AM
*****

Posts I've Made

In Topic: Capturing Win32 Mouse Repeat Events

27 April 2013 - 11:58 PM

Can't you use WM_KEYDOWN directly with VK_LBUTTON and it's siblings?


In Topic: unresolved external symbol _WinMain@16

23 April 2013 - 10:48 PM

That .cpp/.c file where you entered that code, make sure you add it to the project. Right Click on the Solution Explorer and choose "Add". Once the file shows up there it should be compiled and linked.


In Topic: Access violation writing location 0x764f3398

16 April 2013 - 12:39 AM

What are the differences in bitness (32 vs. 64) between your and your friends system?

 

Are you exchanging the source only or the solution/vcproj files as well?

 

If only the first, make sure you have the same settings. That's what L.Spiro was on about, the project settings do not seem to match.


In Topic: c++ delegates, evil method?

14 April 2013 - 03:16 AM

Nice. One major problem I see is that you don't get the instance of an object there. You're basically invoking the handlers with a NULL pointer.

 

If you want some more tested delegates for c++ look for FastDelegate. It's working across all compilers I encountered.

 

I still wish I could make an add handler routine that doesn't need a wrapper, just accepts the method name (as in C#)


In Topic: What windows messages should a well behaved app support?

07 April 2013 - 11:12 PM

You can choose to handle all or none.

 

Most important is that you pass ALL of them on to DefWindowProc unless you explicitely handle it and the docs say you can return a specific value from your WndProc.


PARTNERS