Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MAPI Error: Class not licensed for Use
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00994597
Message ID:
00994617
Views:
17
>Hi
>
>I had a strange error occur on a client's Windows XP Home computer. When I tried:
>
>lo=CreateObject("MSMAPI.MAPISession")
>
>in the VFP 7.0 command window I get the message saying "Class is not licensed for use". Does anyone know why I cannot use the MS MAPI control on tis computer?
>
>Thanks,
>Simon

This usually occurs when you only have a design time license. You'll need to drop an instance of the class on a form, rather than trying to CREATEOBJECT().
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform