Help with C

Associate
Joined
26 Apr 2009
Posts
204
Could anyone help or suggest how I can get my programme to draw the line using the mouse cursor, I'm having a lot of difficulty getting it to work and not overly sure why and would greatly appreciate any help

http://sdrv.ms/TKSJ7g

Thank you
 
Soldato
Joined
7 Apr 2004
Posts
4,212
He is just using Win32 API all from straight C, I didn't see any C++ used (except the .cpp file extension)? The project should compile if compiler settings are changed to C.
 
Last edited:
Associate
Joined
18 Oct 2002
Posts
2,092
Location
Edinburgh
Actually soberly looking at the code, it is C, apologies. It just doesn't compile in my retro borland C compiler.

I never use the Win API, might as well use Winforms if your doing that. Didn't realise you could callback in C thought that was only in C++.
 
Last edited:
Back
Top Bottom