LotusScript to C API Programming Guide

rtLib Domino Rich Text Management template
Home
Show details for ContentContent
Purchase
Ready-to-use samples
Show details for Online resourcesOnline resources
Forum
Links
Happy readers

Anonymous

login


 

Hosted by Prominic.NET, Inc.
Main topic: CurrentDatabase ?

CurrentDatabase ? (by Kenneth Haggman, 06/20/2005 12:29:32 AM)

Hi Normunds.

A couple of questions regarding "session".

I have begun some exploration into using external database drivers.

Essentially, if I uncderstand the concept correctly, you can create your own DLL that "extends" a DbColumn. All that happens is that your DLL gets invoked instead of the standard Notes DbColumn. What happens in the DLL is up to you.

Now, consider this scenario.

1. A user clicks a smarticon that invokes a DLL, which has been created as above.

2. The DLL extracts the current id-file and the current password.

3. The DLL also extracts the current server/database.

4. The DLL calls a standard exe-file (created in vb, Delphi or whatever) and passes the extracted data as parameters.

5. The exe-file uses the data to instantiate/initialize a NotesSession and to open the current database.

This should work, provided point 3 above. Is it possible, using the API's, to get the "Current Database"?