Integration
How to integrate Pamela's functions seamless into your own application with the Remote Control DLL
As of Pamela 3.0.0.37 we have added a DLL that allows you to remote control various settings in Pamela and start/stop events.
If you have an application and wish to use functions in Pamela you can do that remotely now via a DLL.
Note that the remote control DLL Is only available in Pamela Standard, Professional and Business. This decision was made to keep the file size of Pamela Basic small. The DLL is called "remotecontrol.dll" and is available in the SYSDIR directory. Attach to the DLL.
The current commands you have are settings, call recording and tray mode.
Settings: You can set any setting in Pamela's settings.xml configuration file.
Call Recording: You can start and stop the call recording.
Tray Mode: Force Pamela to the tray, similar to Silent Mode of Skype. Pamela will not come to front as long as this mode is set.
Available commands in the DLL are:
int RemoteControlAttach(HWND a_requester);
int RemoteControlDetach(HWND a_requester, int a_bringToTop);
int StartTrayMode();
int StopTrayMode(int a_bringToTop);
int StartCallRecording();
int StopCallRecording();
int SetOptionString(LPCTSTR a_optionID, LPCTSTR a_optionValue);
int GetOptionString(LPCTSTR a_optionID, LPCTSTR a_optionValue, int a_maxLen);
int SetOptionInt(LPCTSTR a_optionID, int a_optionValue);
int GetOptionInt(LPCTSTR a_optionID);
Return codes
There are two codes Pamela returns.
1 - Means that Pamela is loaded, attachments possible, current attached handle validated and attached to remote control. All further remote operations possible.
0 - Attachment failed.
A zero for anything else means failed too. Excluded is the command "GetOptionInt" because this option can be set to 0.
Last update: 2006-12-05 23:31
Author: Pamela Support Staff
Revision: 1.1
Print this record
Send to a friend
Show this as PDF file
Export as XML-File
You cannot comment on this entry