nerix27
Messages postés86Date d'inscriptionjeudi 23 octobre 2003StatutMembreDernière intervention21 juin 2007
-
18 oct. 2006 à 17:40
Lutinore
Messages postés3246Date d'inscriptionlundi 25 avril 2005StatutMembreDernière intervention27 octobre 2012
-
18 oct. 2006 à 21:02
Bonjour,
Je rencontre un problème avec MSMAPI32.OCX...
Je voudrais simplement dans mon appli ouvrir la messagerie par défaut (Outlook) en créant un nouveau mail avec directement un fichier joint...
L'OCX est ajouté via regsvr32.exe
La référence "Microsoft MAPI Controls 6.0" est ajoutée au projet via les Références COM...
Un p'tit using MSMAPI; en haut de mon code...
Dès la première ligne de code, il m'éjecte comme un malpropre :
MAPISession session
= new MAPISession();
Et l'erreur est la suivante :
Exception System.Runtime.InteropServices.COMException was thrown in debuggee:
Creating an instance of the COM component with CLSID {20C62CA0-15DA-101B-B9A8-444553540000} from the IClassFactory failed due to the following error: 80040112
Cela fait 3H que je tourne en rond sur ce problème...
Quelqu'un peut m'aider ???