COM / Interop - multi-version support

I wrote a .NET console application that wraps CuteFTP Transfer Engine - a COM object (ftpte). The version I wrapped up is CuteFTP 7.0. I would also like to support version 8.0, as some of the clients I integrate with have this version.

I have a link in my Visual Studio project to a CuteFTP COM object ... how can I reference a component of version 8.0 and still support version 7.0? It seems to me that I am forced to choose during development if I do not make a big architectural shift.

Ideas?

+3
source share
2 answers

, , , API, , . , API.

, , , .

+3
+4

Source: https://habr.com/ru/post/1699060/


All Articles