Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using your EMAIL.PRG program
Message
 
À
21/07/1997 07:27:40
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00040726
Message ID:
00040901
Vues:
26
>Well, the lesson I've learned is a moral I preach...never assume.
>When I built this procedure file, I was assuming that I was using MSMAPI32, based on what, I'm no longer sure. It turns out, after some thought provoking dialougue with others here, that EMAIL.PRG uses MAPI 1.0. MAPI 1.0, according to my understanding, is loaded with MS Exchange Client and is also available via MS's Software Development Kit. Therefore, if MS Exchange Client is loaded (it is on all the clients I've been using), you never have to worry about file registration (it's magic! duh). So in the words of Homer Simpson....DOH!
>So what to do? Well, MSMAPI32 has many simlar controls, but I don't believe that the OCX is instatiated properly using CREATEOBJECT. I believe that some of the controls are not created unless the object is a member of a form. I could be wrong, I've been wrong before.
>Soon, within the next 2 weeks, I'll write an update to the readme file, but in the meantime, anyone not using MS Exchange that doesn't wish to purchase SDK, EMAIL.PRG can be modified to perform the same function. Please refer to KB article Q136638.... http://www.microsoft.com/kb/articles/q136/6/38.html
>I apologize for any confusion I've created and I'd appreciate any feedback.
>Matt

Hi Matt
I've been doing some testing in the meantime, and i noticed that the needed files in order to run the email.prg correctly is the MAPI 1.0 ole server program, named ( for some obscure reason ) MDISP32.EXE. I moved this file to my client's system directory ( he runs Win95 ) after i installed there the Exchange Client, registered the REG data into the client's registry, and for the first time, the program could finally accept the MAPISession Class definition, but it still runs into some OLE error ( number 0x80000085, go figure ) when trying to open a new Mapi session.
I still cannot run my app, and i don't know whether to rewrite it again using the OCX controls, or to go on digging the Microsoft site for some info.
Anyway, thanks for your prompt reply, i'll keep you posted if there is any new ' revolutionary ' outcome.

Jaime
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform