I have a C++ application that uses the MsMAPI32.ocx to send e-mail. The
application works fine on any machine that have Visual Studio installed.
However, when I try to run it on machines which do not have Visual Studio
the application fails in the CreateDispach() of MSMAPI.MAPISession object.
The error message I get is either that "the class in not resigtered", or
that "you have no license to use this component". I know that MsMAPI32.ocx
is properly installed on these machines, since I wrote a quick VB program
that uses this component to sende some e-mail, and this program works fine.
I painstakingly compared the registry of a "good" machine with a "bad" one
and cannot see any difference.
Any idea what can cause such a failure?