Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XP Encryption breaks existing VFP applications.
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00826496
Message ID:
00826560
Views:
26
>>>XP COPY command /D switch allows decrypt file automatically.
>>
>>Ok, how about
>>
RUN COPY myFile /D
>
>1. This causes a flashing DOS window

RUN /N

>2. This invokes command interpeter and thus is very slow.

Faster than not working at all, da?

>3. The max lenght of RUN command line is 128 characters.
>Copy must have 2 file names in command line.
>My windows temp directory and other file names are longer than 64 characters sometimes so this breaks a max RUN command line lenght.
>4. It is impossible to catch error if copy fails.

Both of these can be handled with a batch file that checks the errorlevel and, if neccessary, creates a semaphore to let VFP know what happened. I don't know if there's a more direct way to return the results to VFP than creating a semaphore.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform