Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP just quits!
Message
From
13/10/1998 10:34:34
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00146032
Message ID:
00146224
Views:
33
Is this DLL specific to VSS? What was it's name? I don't have _any_ version of VSS installed, but I am wondering if something else could have put the same (or an equally evil) library on my machine.
The vexing part is that its not just my machine, but several around here, and on the others, _nothing_ has changed. So whatever is wrong is wrong in the exe that compiled from my machine.

>This started happening to me - and lots of other folks as well. The cause was traced to the Visual Source Safe DLL that shipped with SP 3. The solution was to re-insall the older version of VSS.
>
>
>>Here's a new one. I have some code that is causing VFP to quit without warning. The code that is causing this is:
>>
>>CovAmountString = PADL(TRANSFORM(CovAmounts[i], "99.99X"),COLUMN_WIDTH)
>>
>>where CovAmounts[i] contains a Currency value
>>($15.1523 for example)
>>
>>and COLUMN WIDTH is a defined constant with the value of 12
>>
>>this code does not generate an error, or even a Dr. Watson. It just shuts VFP down cleanly and quickly (no remnants in the task manager). But it doesn't do it every time.
>>
>>This code causes this in design mode, as well as in the compiled exe, and I can watch it happen in the debugger (and yes, I have verified all values)
>>
>>I have created many variations of the code:
>>test1 = CovAmounts[i]
>>intest1 = $ 16.4572
>>test3 = TRANSFORM($ 16.4572, "99.99")
>>test4 = TRANSFORM(intest1, "99.99")
>>intest1 = CovAmounts[i]
>>test2 = TRANSFORM(CovAmounts[i], "99.99")
>>test4 = PADL(TRANSFORM(intest1, "99.99X"),12)
>>test5 = PADL(TRANSFORM(CovAmounts[i], "99.99X"),25)
>>test6 = PADL(TRANSFORM(CovAmounts[i], "99.99X"),6)
>>
>> and some of these cause the error sporadically too. The offending lines are in a tight loop, so it may not fail on the first iteration, but it usually does on one of them.
>>
>>Probably irrelevant but possibly related info:
>>NT 4.0 SP 3, VFP 5.0a
>>I recently installed Adobe PDFWriter and Distiller, but this is not present on other machines where the shutdown happens. This app is installed on 10 other machines and 3 so far have seen this behavior.
>>
>>
>>What is going on? Do I need to reinstall VFP?
>>
>>This code is in a very important and often used routine, so any help will be greatly appreciated.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform