Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am trying to run this code in an XP environment:

 

Set objSession = CreateObject("MAPI.Session")

 

but get the message:

Run time error 429

ActiveX component can't create object

 

The code ran fine previously in an NT envrionment, but now it fails. I have pointed to the CDO12.dll library, but to no avail.

 

Any help would be greatly appreciated.

Posted

The problem with the application not being able to instantiate the MAPI.SESSION is that I had to register the CDO.DLL module to XP. However, I encountered problems with the regsvr32 program, because the dll referenced the following two modules that were not in the system library:

 

gapi32.dll

efsadu.dll

 

I identified these references using the DependencyWalker utility. Once I downloaded the missing modulesinto my windows folder, the registration program ran sucessfully, and my application is now able to create the MAPI.SESSION object.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...