GetDirectory failing via COM

I’m getting this error: OLE error code 0x80020006: Unknown name.

When I try to use the GetDirectory method. Here’s a sample of the code:

g_oNotesDirectory = g_oLNsession.GetDirectory(g_oLNdb.Server)

I’ve also tried storing the server name into a string variable and sending the variable to the method, same results.

Any ideas?

Thanks.

Bill

Subject: GetDirectory doesn’t exist in COM??

I opened the domobj.tlb in the object browser and GetDirectory does not show in the list of Methods on the NotesSession class.

??