Quote:
Error E1507: Video not yet initialized

You called a DirectX function in the first frame before DirectX was initialized. Use wait(1) to wait for the second frame when a DirectX device is available.


The manual is your friend.