API as windows service

Status
Not open for further replies.

asmith3006

Joined
Mar 5, 2014
Messages
94
Reaction score
5
Has anyone successfully built V15 API into a Windows Service?

We're running it as a WinForms application and this works fine, but running as a Windows service gives
Code:
Unable to load DLL 'tcxpscom_native': The specified module could not be found. (Exception from HRESULT: 0x8007007E)    at TCX.Configuration.PhoneSystem.RegisterListener(MyPFN_UPDATE_LISTENER f)
   at TCX.Configuration.PhoneSystem.get_Root()

Any input would be greatly appreciated

Thank you
 
For anyone else who has this issue:

When you build the service VS includes the DLL for some reason (even if set to exclude). Once you install your service if you manually delete the DLL from the installation directory (NOT the Program files\3cx\instanceX directory) then the service locates the real DLL and it all works fine.
 
same error occured while to get PhoneSystem.Root.GetDN()
Unable to load DLL 'tcxpscom_native': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
 
Status
Not open for further replies.

Members Online Now

Forum statistics

Threads
111,863
Messages
589,445
Members
164,702
Latest member
iamatlas