0x80010105 error when accessing folder in C#

6 views
Skip to first unread message

Dwhite

unread,
May 22, 2008, 10:05:14 AM5/22/08
to Nektra OEAPI Support
Simple console program to test functionality:
static void Main(string[] args)
{
OEFolderManager folderManager = new OEFolderManager();
int InboxId;
OEFolder inboxFolder = folderManager.GetInboxFolder();
InboxId = inboxFolder.GetID();
inboxFolder = null;
}

program crashes on the line: OEFolder inboxFolder =
folderManager.GetInboxFolder();

your sample apps dont work either. I am simply trying to access
Outlook Express email. Any ideas

-dw

Nektra OEAPI Support

unread,
May 22, 2008, 3:14:20 PM5/22/08
to Nektra...@googlegroups.com
Hi Dave,

In order to provide you of support we need you to include all of this
information on your posts:

1) OEAPI Edition and Version number.
2) Development software version used.
3) Operating system and email client versions.
4) Are you making a DLL or an EXE plugin?

Which is the error shown on the GetInboxFolder line on the debug mode?

Thank you for contacting Nektra's OEAPI Support.

Regards,

Federico


--
Nektra Advanced Computing
http://www.nektra.com

Dwhite

unread,
May 22, 2008, 3:50:49 PM5/22/08
to Nektra OEAPI Support
1) 3.2.1
2) VS2008 C++
3) Windows Vista Hom Premium (all latest patches applies) and am
trying to get to Vista Windows Mail
4) I am trying to make a simple console application

The error occurs in your C++ demo app on line 172 of file DemoDlg.cpp:
hr = CoCreateInstance(CLSID_StoreNamespace, NULL, CLSCTX_SERVER,
IID_IStoreNamespace, (LPVOID*) &m_pStoreNamespace);
The error is: hr = 0x80080005 Server execution failed

My application does not have to be a plug-in to Windows Mail to work
does it? I simply want to read and send mail while not having the user
interface with Windows Mail

-dw

Nektra OEAPI Support

unread,
May 22, 2008, 4:49:02 PM5/22/08
to Nektra...@googlegroups.com
Hi again,

Do you have the UAC enabled?
Please try running a Command Prompt as Administrator, and registering
oestore.dll with regsvr32.
Your application can be a stand alone program and access the storage
(for reading and modifying) but you cannot send messages while WM is not
running.


Thank you for contacting Nektra's OEAPI Support.

Regards,

Federico

Reply all
Reply to author
Forward
0 new messages