Information générale
Catégorie:
COM/DCOM et OLE Automation
>Hi,
>
>How do I need in order to properly install MAPI on my clients machines? I know that MSMAPI32.OCX must be installed and registered, but I am receiving errors stating that the user doesn't have the necessary license to use the component.
>
>Thanks!
Dear Fabio,
MSMAPI32.ocx is only a 'wrapper' for MAPI. You have to install MAPI before installing MSMAPI32.ocx.
But, once MSMAPI32.ocx is registered ether by regsvr32.exe or programatically, you only get this error, if you want to use this ocx by createobject() or addobject(). These commands requires the client machine to have the design time licence. (MS doesnot give you the right to distribute the design time licence to your clients.) How to avoid this?
Add this control to any of your form at desing time and instantiate that form.
And then use the MAPI control in your program.
That's all.
bb
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement