Reg-Free COM written in 1C language

125 Views Asked by At

I'm writting application in C which calls functions from a DCOM object. The DCOM is stored in DLL written in 1C language.

My application is working fine when DCOM is registred in a system. Is there is a way to call functions from the *.dll using Reg-Free (I mean: without registration the .dll in a system)?

I've tried many times to do so but I've failed. I used mt (from Visual Studio) to embed a manifest xml to the dll but it doesn't work .

The .dll manifest:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="Win32" name="DrvFR" version="1.0.0.0"/>
<file name="DrvFR.dll">
    <comClass clsid="{E187099F-8C5C-4723-8866-D8DBB6353ADE}" threadingModel="Apartment"/>
</file>
</assembly>

My application manifest:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="Win32" name="AutomaticCommPortDetector" version="1.0.0.0"/>
<dependency>
    <dependentAssembly>
        <assemblyIdentity type="Win32" name="DrvFR" version="1.0.0.0"/>
     </dependentAssembly>
</dependency>
</assembly>
0

There are 0 best solutions below