Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Applications / April 2007

Tip: Looking for answers? Try searching our database.

how to get rid of pop-up in MAPILogonEx

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shivaraj - 25 Apr 2007 07:36 GMT
Hi,
I am using
hr = MAPILogonEx(0, szProfile, NULL, MAPI_TIMEOUT_SHORT |
MAPI_EXPLICIT_PROFILE, &lpSess);
to connect to the MAPI. When I specify wrong profile ( which is not
having enough permissions ) it should simply fail. But in my case a
pop-up is being shown. ( i am not using MAPI_LOGON_UI  ) Any idea how
can I get rid of this popup?
Regards,
Shivaraj
Dave Goldman [MSFT] - 25 Apr 2007 14:49 GMT
You could set some flags checking the hresult for Access Deined and have it bail out.
Signature

This posting is provided "AS IS" with no warranties, and confers no rights.

Dgoldman
http://blogs.msdn.com/dgoldman
Download OABInteg (http://gotdotnet.com/Community/UserSamples/Download.aspx?SampleGuid=A2338E73-F52
1-4071-9B1D-AAF49C346ACD
)

 Hi,
 I am using
 hr = MAPILogonEx(0, szProfile, NULL, MAPI_TIMEOUT_SHORT | MAPI_EXPLICIT_PROFILE, &lpSess);
 to connect to the MAPI. When I specify wrong profile ( which is not
 having enough permissions ) it should simply fail. But in my case a
 pop-up is being shown. ( i am not using MAPI_LOGON_UI  ) Any idea how
 can I get rid of this popup?
 Regards,
 Shivaraj
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.