According to OP's comments, the calling application sends audio to the DLL, the DLL sends audio through some USB interface, the DLL captures some audio signals from the microphone interface and requires that the captured sound be sent back to the application, while the application sends audio to the DLL, etc. .
Based on this and the fact that the call can be recorded in different languages, I see several options for communication channels:
- TCP / IP (depending on the settings of desktop firewalls, etc. this can be problematic!)
- Pipes
- COM objects with events / event handlers
- Callback dlls though it will be a little tricky to work in all languages
- shared memory with global mutexes (this can be made easier for a consumer application by proposing the "setup" function from a DLL that returns the names of pointers and mutexes)
Yahia
source share