G
Guest
Hi.
Quest #1
Is this the correct place for my question? If no, let me know where I have
to post it, please.
Quest #2
Scenario: OL2K with Exchange2003. My application have to read folders tree
and have to import mails. I use MAPI (msoutl9.tlh).
Condition 1: I'm already logged on exchange server by OL (File | Work online).
Condition 2: I'm not already logged on exchange server.
My App in condition 1 works good.
In condition 2, logon works (see below) , but when I try to navigate
exchange folders I have a login error.
My logon istruction is
_NameSpacePtr m_folders = m_app->GetNamespace(_T("MAPI"));
hr = m_folders->Logon(covOptional, covOptional, covTrue, covOptional);
where
_variant_t covOptional((long)DISP_E_PARAMNOTFOUND, VT_ERROR);
_variant_t covTrue(true);
Unfortunately, no login dialog appears.
Any suggest?
How I do to obtain login dialog runs by my app?
Alessandro
Quest #1
Is this the correct place for my question? If no, let me know where I have
to post it, please.
Quest #2
Scenario: OL2K with Exchange2003. My application have to read folders tree
and have to import mails. I use MAPI (msoutl9.tlh).
Condition 1: I'm already logged on exchange server by OL (File | Work online).
Condition 2: I'm not already logged on exchange server.
My App in condition 1 works good.
In condition 2, logon works (see below) , but when I try to navigate
exchange folders I have a login error.
My logon istruction is
_NameSpacePtr m_folders = m_app->GetNamespace(_T("MAPI"));
hr = m_folders->Logon(covOptional, covOptional, covTrue, covOptional);
where
_variant_t covOptional((long)DISP_E_PARAMNOTFOUND, VT_ERROR);
_variant_t covTrue(true);
Unfortunately, no login dialog appears.
Any suggest?
How I do to obtain login dialog runs by my app?
Alessandro