Fernando Reballo 3.Feb.09 08:31 PM a Web browser
Toolkits All Releases Windows 2003
When I open a database a prompt for password is presented and, as the application runs alone I cannot enter it.
I did a C++ Domino application in 1999 and I used a component COM to pass the password in the code: see it:
ISession *pComSession = NULL;
BSTR bstrPassword = NULL;
ht = CoInitialize(NULL);
hr = CoCreateInstance(CLSID_NotesSession,
// error was handled here
mbstowcs(wcstrBuffer, password, strlen (password)+1);
bstrPassword = SysAllocString(wcstrBuffer);
hr = pComSession->Initialize(bstrPassword);
In this point to ahead I used C++ API functions normally!
I remember something about a COM Toolkit and a domobj_i.c file included in my Visual Studio 6.0 project, but now I cannot find anything about this.
How do I solve this now?
Thank you very much