Hello Everyone, Just started playing with Andorra, following the tutorials step by step… and I got stuck here :
if AdDraw.CanDraw then // Only continue, if drawing is possible
AdDraw.ClearSurface(clBlack); // Fill the surface with black color
AdDraw.Flip; // Draws you result on the screen. Otherwise, you would not see anything
Done := false; // Important, otherwise the function will not be called in every loop
If I run it step by step I get Access Violation here :
tc, td: double;
//Calculate time difference
tc := GetTickCount;
-> td := tc - FLastTickCount; <- Problem surfaces here in AdPerformanceCounter.pas
Can someone help me solve this ?
Solved it :
AdPerCounter := TAdPerformanceCounter.Create;
Added this onCreate…
Think You, I have the same error!
(my english is bad because i'm from RUSSIA!)
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.