Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registering Active Messaging Library
Message
De
22/01/1999 04:46:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Registering Active Messaging Library
Divers
Thread ID:
00178862
Message ID:
00178862
Vues:
45
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?
Répondre
Fil
Voir

Click here to load this message in the networking platform