Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Out of Process EXE crashes for customer
Message
 
 
À
05/05/2007 14:52:23
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01222754
Message ID:
01222769
Vues:
18
Did you register the COM server on the customer's PC? What error exactly did you get?

>
>I have an out of process VFP exe that works perfectly for me, but crashes for the customer. It's a prg file, added to a Pjx and compiled and the file is placed in the same directory as is the main application(also an exe). We have confirmed that anti-virus is not blocking the exe, and have put traps in the exe to confirm that the main application blows up on the line that calls the out of process exe.
>
>The prg file name is objemailcom.prg and I define the class like this:
>
>        DEFINE CLASS ObjEmailCom AS Session OlePublic
>
>
>The code in the main app calls the exe like this:
>
>	PUBLIC oObjEmailCom
>        oObjEmailCom = CREATEOBJECT("EnsEmail.ObjEmailCom") && KA-BOOM!
>
>
>BTW: Putting the below line before the createobject command does not make a difference:
>SET PROCEDURE TO ensEmail.exe ADDITIVE
>
>A solution, comment, opinion and even a SWAG would be really appreciated!
>Thanks for taking the time to reply.
>
>"DL" Donald Lowrey
>Las Vegas
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform