Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Ensure that MAPI does not attempt to display any dialog boxes.

Posted on 2001-08-20
1
Medium Priority
?
201 Views
Last Modified: 2013-12-03
Dear -,
     I know that MAPI is a windows messaging sub-system. However I have an application, running on NT 4, that does not have access to any display, any attempt to display a dialog box from this application will jam the application up.
Is it possible to use MAPI in this application?
Do I have to drive the SMTP port (25) directly, if so how?
Yours
Mellor
0
Comment
Question by:mellor
1 Comment
 
LVL 86

Accepted Solution

by:
jkr earned 800 total points
ID: 6406166
>>that does not have access to any display

Why don't you try to set 'MAPI_NT_SERVICE' when calling 'MAPIInitialize()'?
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question