Problem in Device Capturing Multiple times  
Author Message
UsmanTahir





PostPosted: Game Technologies: DirectX 101, Problem in Device Capturing Multiple times Top

hi there,

I have made a software using C#.net managed directX 9.0 that used to run different movies, images and etc
now i am facing a very anowing problem, when ever i used to run my software many times more than once, it gives me exception at some later stage and start running the movie in separet window out of the device window.
if i did not stop palying my software it did not give me thius typoe of error and keep on playing movie and etc very much smoothly....
till now i can only understand and juged that it is because of capturing device more than once or may be i have not done somethingmore beside disposing the device.
for information .... i always initialize device from scratch when ever i trun my program.


Please reply soon .....
Regards
Usman Tahir




Game Technologies: DirectX, XNA, XACT, etc.17