AviFileOpen() is an API call and not managed code.
You probably need to mark the code as unsafe if you want to use it.
You find better help under the regular C/C++ forum for API calls.
Thanks so much for that....
i am now thru with it... i can now strip down an Avi file into frames and vice verca...
.....
One more thing..... i am also using the Mci API(mcisendstring) to play media files but i am unable to play the same file types.. like i can play some mp3 files whiles other i can't..... can anyone help with this? a sample code on using the mcisendstring will be ok for me.