Currently for Windows XP and Windows 7 32 bit i am using IJolierDiscMaster COM Interfaces for writing CD. Currently i am migrating the windows application to windows 10. When i try writing CD in windows 10 it is giving exception " System.Runtime.InteropServices.COMException(Ox80010105) : The server threw an exception (Exception from HRESULT : Ox80010105 RPC_E_SERVERFAULT) at IJolietDiscMaster.AddData
Here is the Interface :
[ComImport]
[Guid("E3BC42CE-4E5C-11D3-9144-00104BA11C5E")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
internal interface IJolietDiscMaster
{
void AddData(IStorage pStorage, int lFileOverwrite);
}
Here is the code for CD Write
fDiscMaster.SetActiveDiscRecorder(fActiveRecorder);
CreateIStorage();
fDataDiscWriter.AddData(fRootStorage, 1);
It is failing at AddData method with below exception :
:System.Runtime.InteropServices.COMException (0x80010105): The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))
at COM.IJolietDiscMaster.AddData(IStorage pStorage, Int64 lFileOverwrite)
User contributions licensed under CC BY-SA 3.0