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 ???
D'avance merci...