Using Powerbuilder 2022 R2 2819, Chilkat-9-5-0, Windows 10 Pro 64 bit, nssm
In normal client/server application, I could use Chilkat, and unlock it using loo_Glob.ConnectToNewObject("Chilkat_9_5_0.Global"). No issues.
When I try to use the same way to connect this ActiveX from a windows service application, it fails.
The App is developed using PB 2022 R2. Installed as a service in the same machine.
Chilkat installed in the same machine using the batch file provided. Since the app is 32 bit, I installed the activex using the register_x64.bat. Since it failed, I tried with register_win32.bat. Both failed. I used nssm to install and run the service application.
I registered the activex using register_x64.bat. Registration succeeded. I verified it running the client/server application. But the windows service application fails to unlock the bundle.
Then I unregistered the 64bit version, registered with register_win32.bat file. Registration succeeded. Here also the windows service application failed to unlock the bundle.
IS it possible to access a third party ActiveX from a windows service in the same way that we used to access the ActiveX in a client/server application?
Or Am I missing something?