Smooth Timers and Clearing up DirectDraw
OK, So I got two questions.
1) I need a smooth method of timing. I am animating an image and the VB timer is not very accurate, I was wondering if anyone else had a suggestion - perhaps using GetTickCount somehow? I dunno.
2) I have never been good at clearing up DC's and whatnots, preferring just to use the good 'ole "End" command and leave it at that, but with DirectDraw I'm seeing a 2ish% drop in system resources every time I run my program, presumably becuase I am not deleting my surfaces afterwards. Could someone help by telling me what needs deleting when I end my program and how to delete it (i'm not exactly well versed in DX).
Help much appreciated.