I’m using Delphi 10.2 for developing application and I have COM object application where the COM is initialized in the initialization section and I need to create the Comobject class from DUnit application and then, I have access the Invoke method after creation and then, included the unit file in the DUNIT application with the all reference files and getting the error – “Error Loading type DLL”.
And tried to create CreateCOMObject
and also createOLEObject
for the COM instance. But got access violation error. How can I create COM class and access the invoke method from DUnit Delphi application? Kinldy share your comments