By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,400 Members | 1,368 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,400 IT Pros & Developers. It's quick & easy.

Problem with Ms Jet Exchange Isam (MSEXCH40.DLL)

P: n/a
Hi Everybody,

Firstly I opologies if this is not the exact group to fire this query.
I am working in VC++ 6.0. I have a strange problem with the MS Jet
Exchange Isam (MSEXCH40.DLL). Using CDaoDatabase, I am trying to link
to exchange Public Folders/contact folders on my Win2K exchange 2000
server. I use the following code lines.
======
CDaoDatabase* db = new CDaoDatabase;
db->Open("C:\myfolder\mydatabase.mdb", FALSE, FALSE, _T(""));

CString strTemp = _T("Exchange 4.0;MAPILEVEL=Public Folders|All Public
Folders\\;TABLETYPE=0;TABLENAME=mytest;DATABASE=c: \\temp");

LONG lAttributes=0;
CDaoTableDef td( db );
td.Create( TXT_WIZ_EXCHDB_TABLE, lAttributes, "fstest",
LPCTSTR(strTemp));
try
{
td.Append();
}
catch (CDaoException *e)
{
CString sError;
sError.Format ("Database Error : %s",
e->m_pErrorInfo->m_strDescription);
AfxMessageBox (sError, MB_SYSTEMMODAL|MB_ICONSTOP);
e->Delete ();
}
======
I am executing this snippet on Win XP SP2 with Office 2003.
If I execute this in debug or release release, I can see that my
database files contains the linked table and hence the table is linked
successfully. When I use debugger(F10) in Visual Studio, I always get
the following exception and cannot go further.
---------------------------
Microsoft Visual C++
---------------------------
Unhandled exception in daotest.exe (MSEXCH40.DLL): 0xC0000005: Access
Violation.
---------------------------
OK
---------------------------
Any kind of help will be appreciated.

Thanks in advance,

Nitin Dangare

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
<ni***********@yahoo.com> wrote
Firstly I opologies if this is not the
exact group to fire this query. I am working in VC++ 6.0. I have
a strange problem with the MS Jet
Exchange Isam (MSEXCH40.DLL).


And I apologize that you aren't likely to get a good answer here -- the Jet
database engine used by Exchange is different than the Jet engine used by
Access. They split from a common "ancestor" quite a long while ago, and are
not now compatible. You'll stand a better chance of getting the information
you need in a newsgroup devoted to Exchange -- of which there are several
microsoft-sponsored ones at the free news server "news.microsoft.com".

Larry Linson
Microsoft Access MVP.

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.