Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Out of Process EXE crashes for customer
Message
 
 
To
05/05/2007 14:52:23
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
01222754
Message ID:
01222769
Views:
24
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform