Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registering Active Messaging Library
Message
From
22/01/1999 04:46:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Registering Active Messaging Library
Miscellaneous
Thread ID:
00178862
Message ID:
00178862
Views:
44
I'm trying to build a VFP application that can handle e-mails. I started down the road of using the standard Fox MAPI controls but they are crap. I then started writing my own DLL in Visual C and these work fine, but the only problem I'm having is that I can't trigger a refresh of the inbox (ie: get messages from an external mail server). I'm still playing with this in C but while I was rooting around MSDN I found some references to Active Messaging for Visual Fox. I thought I'd give this a try and I registered the library (olemsg32.dll) using regsvr32.exe. This seemed to go OK.

The problem I'm having is that every time I run the following line:

oSession = CREATEOBJECT("MAPI.Session")

I get this:

OLE Error: (xxxxxxxx) Class not registered.

Now I'm pretty sure I registered the class properly but I'm no OLE expert. I've checked all the relevant registry settings for "OLE messaging" and "MAPI" and they are all registered as available. Can anyone tell me what I'm doing wrong?
Reply
Map
View

Click here to load this message in the networking platform