Integration of external applications with my applications

I have 2 desktop applications that I want to integrate with external applications. One of the applications has been expanded with plugins that I developed to provide specific functions that are not common to all distributions. The situation can be described in the following diagram:

alt text http://img32.imageshack.us/img32/8902/integration1.png

As I said, I want to integrate (receive and send data) my applications with external applications or SDKs. There are usually 2 types of data from external applications:

  • General / General data that is always up to date
  • Specific data that must be handled differently for each external application.

With the “Main Application”, the desired situation can be described in this diagram:

alt text http://img32.imageshack.us/img32/3299/integration2.png

General data is processed in the main application, and specific data is processed in plugins (plugins are supported).

The distribution of this application may be one of

  • Main application + Yakko application + Yakko App Integrator + Yakko application support plugin
  • Core Application + Dot App + Dot App Integrator

For another application, I want to keep the same “integrators”, but process them differently inside the application:

alt text http://img32.imageshack.us/img32/2088/integration3x.png

How do you recommend implementing support in my applications to integrate external applications and SDKS, as I just described?

Notes:

  • I use C ++ on Windows, and plugins are distributed as DLLs.
  • , , , .
+3
2

, COM . DLL , , , - :

hr = CLSIDFromProgID(L"Wakko.1.0", &clsid);  
hr = GetActiveObject(clsid, NULL, &punk);


hr = CoCreateInstance(clsid, ...,..., IID_IWAKKO, ...);

+1

IPC,

COM .

- , . , . ( ) .

0

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


All Articles