by Ritterkreuzträger » Wed Jul 07, 2010 5:18 pm
I was making something game-related(hack\cheat or just some pointless shit :D Just experimenting). I was in need to draw something on screen(monitor, HDC), but it looks like in pascal there are only one famous enough method to draw something - to use TCanvas component. Its quiet powerful(And very easy to use - just like TCanvas.TextOut, TCanvas.Rectangle etc), but not enough for gaming purposes. The drawn thing will be erased with every screen update, so you have to redraw it. I made a timer for 1MSec, but it is not enough - the drawn thing will be blinking very fast, which is very annoying. Im not in need to see a solution on pascal, it can be written in C or in anything else(Im sure there are most be just few WinAPI functions). It is not needed to affect the application in any way, may be some kind of overlay...