Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with API_APPRUN
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00529409
Message ID:
00529607
Views:
16
>>I am using the API_APPRUN class in my program, and am having a problem with it. On 2000 machines, it works without a hitch. On every single 98 machine we've tested it on, it hangs when I run this code:
>>
>>ThisForm.RunApp.icCommandLine="PKZ -3 -- -+ -) -O MOD.ZIP _MDCPT.DBF"
>>ThisForm.RunApp.LaunchAppAndWait()
>>
>>I've got around 20 pieces of code like this (each one unzipping a specific file from mod.zip), and on every "ThisForm.RunApp.LaunchAppAndWait()", it hangs until I hit Escape (that's programmed into the VCX).
>>
>>Has anyone else had this problem with API_APPRUN and 98 machines? Am I missing something? I tried to contact the author, but to no avail.
>>
>>This is the code that is in LaunchAppAndWait():
>>
>>***code deleted intentionally***
>>
>>It's hanging inside that DO WHILE loop. Any API Guru's out there know why this happens? Thanks!
>
>Does the desired command work when run manually from a DOS box under W98? The
>reason why I ask is that the NT/W2K CMD.EXE command processor interprets some
>PKZIP parameters differently from W9x.

Yes, it works fine. (all of them do)
Scott
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform