Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Out of Process EXE crashes for customer
Message
De
05/05/2007 15:05:41
 
 
À
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:
01222756
Vues:
17
>Hi All
>
>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.

By "works perfectly for me" do you mean that you're running both EXEs in the same manner as the customer (i.e. you're not running from within the VFP IDE)?

Is it possible an out of process .EXE requires a VFP runtime component that isn't installed at your customer?

Does your customer have local admin rights on the machine they're using?

If, in your main EXE it "blows up" on the CREATEOBJECT() call, what error is returned? Have you checked/stepped through all the code in the out-of-process EXE that runs before control returns to your main EXE (e.g. up to RUN EVENTS if applicable)?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform