>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().