Calls to COM API require active windows session on the TRIM server?
I'm no COM expert, so this may be a simple question.
When I make a connection to TRIM via the COM API, if I don't have a windows session open for the account I use to access TRIM on the TRIM server (remote desktop session) I can connect, but TRIM has 0 databases available. If I make a connection by remote desktop, then I see the available databases as expected. This works whether the session is active or disconnected, but not if I log off.
Is this expected behaviour? Something I can do to avoid this requirement?
Re: Calls to COM API require active windows session on the TRIM server?
not quite sure if I read your post corretly so appologies if I have misunderstood.
when you make a Trim connection, the database that are "available' are the ones listed in the registry of the user account you are using at the time you make the connection
They are listed under the registry keys
v6 HKCU\Software\Tower Software\TRIM5\Datasets
v7 HKCU\Software\Hewlett Packard\HP Trim\Datasets
( There will be a key for each Dataset corresponding to its ID and a DefaultDB value and LoadDefaultDB value )
But you not limited to picking Datsets that you registry knows about, you can explicitly set a Dataset ID and server by specifing the ID and the server as part of the datbase object. (can speciify port if you use different ports)