COM Session.Initialize() with a password?

Hello,

I’m trying to eliminate a password prompt when I initialize my COM session. The documentation states the password is optional and can be passed, but when I do, the password prompt still comes up as if I hadn’t passed it at all.

g_oLNsession = CREATEOBJECTEX(“Lotus.NotesSession”,“”,“”)

g_oLNsession.Initialize(“MyPassword”)

Any suggestions?

Thanks.

Bill