|
t.fischer@servonic.de
Posts: 4
Joined: 2015-09-24
|
Hi,
I'm using Outlook Security Manager 8.0 and Delphi XE2 to send messages via Simple MAPI.
With Outlook 2016 (Version 16.0.4266.1003) installed on Windows 8 i get the following error message when trying to disable the security message:
"The operating system is not presently configured to run this application."
This message is displayed twice when calling OLSecMan.DisableSMAPIWarnings := true;
Simple MAPI access to Outlook without usage of the Security Manager is working fine.
Here is the code of my test project:
CoInitialize(nil);
OLSecMan := TOlSecurityManager.Create(nil);
OLSecMan.DisableSMAPIWarnings := true;
SendMapiMessage();
OLSecMan.DisableSMAPIWarnings := false;
CoUninitialize();
FreeAndNil(OLSecMan);
Can u please help me figuring out my problem? |
|
Posted 19 Oct, 2015 10:37:15
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18829
Joined: 2006-05-11
|
Hmm, this looks like a issue in the code of Security Manager. We are investigating this. We've assigned a priority to this case.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 20 Oct, 2015 06:20:31
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18829
Joined: 2006-05-11
|
Hello,
Could you please provide the following info:
The bitness of Win 8
Is Win 8 SP1 installed?
The bitness of Outlook
Andrei Smolin
Add-in Express Team Leader |
|
Posted 22 Oct, 2015 02:46:43
|
|
Top
|
|
t.fischer@servonic.de
Posts: 4
Joined: 2015-09-24
|
Hello,
It's a 32 bit Windows 8 with no Service Pack installed.
Outlook is 32 bit.
Thank you for investigating and feel free to ask for additional info. |
|
Posted 22 Oct, 2015 02:57:25
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18829
Joined: 2006-05-11
|
Hello (BTW, what's your name?)
We can't reproduce the issue on these configurations
Windows 10 x86 + Office 2016 x86
Windows 10 x64 + Office 2016 x64
Windows 10 x64 + Office 2016 x86
By chance, we reproduced this on a test machine where Office 2013 + 2016 were installed (we think the Windows version doesn't relate to the issue). On that machine, Simple MAPI (not Security Manager) didn't work; we've fixed this situation by repairing Office *2013*. We don't know all consequences of such a move. I suppose you would need to repair Office 2016 after repairing Office 2013; we didn't do this.
Andrei Smolin
Add-in Express Team Leader |
|
Posted 27 Oct, 2015 01:48:46
|
|
Top
|
|
Tobias Fischer
Posts: 4
Joined: 2015-09-24
|
Hi,
the machine i'm testing on is a freshly installed Windows 8 x86 with only Office 2016 installed, there has never been installed something else.
I tried repairing the Office installation but the behaviour did not change.
I still get "The operating system is not presently configured to run this application." when trying to call OLSecMan.DisableSMAPIWarnings := true;
SimpleMapi is working.
I installed the Windows 8 machine for testing, since i experienced the same problem with Win 10 x64 + Office 2016.
The System has not received any Microsoft updates, is it possible that the issue is somehow connected with that circumstance?
Regards from Germany
Tobias Fischer |
|
Posted 28 Oct, 2015 08:48:52
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18829
Joined: 2006-05-11
|
Hello Tobias,
Tobias Fischer writes:
SimpleMapi is working.
Are you saying that you can send am email using Simple MAPI (with Outlook warnings)? Could you call OlSecMan.DisableMAPIWarnings = true after yoou call MAPILogon?
Andrei Smolin
Add-in Express Team Leader |
|
Posted 28 Oct, 2015 09:55:15
|
|
Top
|
|
Tobias Fischer
Posts: 4
Joined: 2015-09-24
|
Hello Andrei,
Calling MapiLogon first and DisableMapiWarnings = true afterwards fixed the problem.
The Outlook Warning is now suppressed correctly and everything is working fine.
Thanks you for your help!
Regards from Germany
Tobias Fischer |
|
Posted 28 Oct, 2015 10:38:38
|
|
Top
|
|
Andrei Smolin
Add-in Express team
Posts: 18829
Joined: 2006-05-11
|
That's great! Thank you for confirming!
Andrei Smolin
Add-in Express Team Leader |
|
Posted 29 Oct, 2015 03:06:51
|
|
Top
|
|