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.
Re: can't play .avi or .mpg
[Re: Tobias]
#228377 09/19/0801:3609/19/0801:36