Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I use Lotus Notes Automation Classes from Visual C++ 6.0

Status
Not open for further replies.

swamidon

Programmer
Aug 21, 2003
3
US
I have created Lotus notes automation classes in my VC++6.0 application. However, I have no idea which function to call first. There are hundreds or thousands of methods, properties, etc. Has anyone ever done this? Does anyone know where to find sample code for this? Or where to find good Lotus Notes Automation Classes documentation?

Best Regards,
Donald
(swamidon)
 
I have an ATL project:
the last version of Lotus Notes you can import like this:

#import "c:/notes/domobj.tlb"
there is a piece of code I used a little time ago:
xxx yyy()
{
Domino::ISessionPtr notesSession;
HRESULT hr = -1;
testhr(notesSession.CreateInstance("Lotus.NotesSession"));
testhr(notesSession->Initialize("password"));
Domino::IDatabasePtr notesDb = notesSession->GetDatabase("dbaddress", "dbname.nsf", _variant_t(false));



Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top