IJolietDiscMaster::AddData Compatability with 64 Bit Operating System

0

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)

c#
winforms
32bit-64bit
comexception
cd-drive
asked on Stack Overflow Mar 29, 2019 by Amarnath • edited Nov 6, 2019 by Vadim Kotov

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0