Original Post
Small Prob perhaps some of you could help me with this. This loop causes for some unknown reason a major slowdown on my computer, unless I have the debug.print after the primary.blt? Why could this be? the prob is definitely with the primary.blt
'' Main Loop
Do
Blit
DoEvents
Loop
Sub Blit()
On Local Error GoTo ErrorOut
'' Blit Fisrt Buffer To Primary
DirectX.GetWindowRect FormMapEditor.PictureMap.hWnd, BlitBlock
Primary.Blt BlitBlock, Buffer, BlitBlock, DDBLT_WAIT
Debug.Print
ErrorOut:
End Sub