Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Msmapi trouble
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00345830
Message ID:
00345918
Vues:
19
>This is due to an entry missing from the registry. In my MAPI Class zip file you will find a file called fox.reg - this is the required license. It's actually a development license for MAPI. This will get rid of that message.
>
>>I have encountered one Win95 machine that will not run the following code:
>>
>>oform = CREATEOBJECT("form")
>>oform.ADDOBJECT("oleSession","olecontrol","MSMAPI.mapiSession")
>>oform.ADDOBJECT("oleMessage","olecontrol","MSMAPI.mapiMessages")

Okay, I have tried all this stuff, and still the problem. I know for absolute sure the OCX is registered properly, and the same code runs perfectly in vfp5, and all other machines with the vfp6 version. I gave the user an old vfp5 version of the app to use while I try to resolve this.

Now I had a similar problem going from 5 to 6 with GETOBJECT() and OLEs. It always worked fine in 5, but sometimes (but not always) did not work in 6. Had to adjust the code - may have to do the same here.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform