I'm trying to burn DVD/CD through frontend C# code...
i have used IMAPI2 for buring CD/DVD in windows XP..but it is giving me unhandled exception... as:-
System.InvalidCastException: Unable to cast COM object of type 'IMAPI2.Interop.MsftFileSystemImageClass' to interface type 'IMAPI2.Interop.MsftFileSystemImage'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{7CFF842C-7E97-4807-8304-910DD8F7C051}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))
can anyone please help me out to solve this problem. I'm not able to solve this error. this project is working fine in Windows7 but unable to work with XP.