in our TD-application we are using some selfmade C#-DLL via COM (DLL is registered via regasm.exe). This works quite well, but since we need admin-rights for registering we are searchung for a register-free-method. I found some information on the web, it seems that the correct term is side-by-side-assemblies:
https://docs.microsoft.com/en-us/dotnet ... om-interop
viewtopic.php?f=6&t=62070&p=193438&hili ... st#p193438
viewtopic.php?f=12&t=67108&p=213239&hil ... st#p213239
https://developex.com/blog/using-com-wi ... istration/
I tried to implement a sample in Team Developer 6.2, but the register-free-method mentioned here doesn't work for me.
- create a simple C#-DLL with two function (return a string and a number value): RegFreeComDLL.dll
- register the DLL via regasm.exe, create the .tlb-file and create a corresponding TD-File: RegFreeComDLL.apl
- create a manifest-file for the DLL via mt.exe: RegFreeComDLL.manifest
- attached the manifest-file in the C#-project
- create a test-program for the DLL with a registered and an unregistered method -> registered works, unregistered not
- build an test-program-exe-file an edited the internal manifest via ressource hacker -->Side-by-Side-Configuration-Error, the created logfiles via systrace.exe didn't help
Regards,
Jonas