Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem Event Name BEX
Message
From
29/05/2015 14:07:37
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
29/05/2015 12:15:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01620116
Message ID:
01620354
Views:
64
>>>Dennis,
>>>
>>>In any reason get rid of the return within a with..endwith statement, if it does not result in a C00005 error now it will end up the next day.
>>>Rgds,
>>>Koen
>>>
>>>
>>
>>That's strange. I never run into this and I must have RETURN inside WITH .. ENDWITH countless times. I feel uncomfortable now.
>>D:
>Lutz,
>To my experience to have a return in a With...EndWith does not mean you will run into a C000005 instantly. A procedure having this can run for long time and than suddenly turn into a problem.
>Best is to avoid this.
>There are some procedures around which can check your application for such error-causing events, CodeAnanlyst, to be found and VFPX and also Thor has a procedure to check for this.
>Gruss,
>Koen

I will have a look at it.
I do not think that code that runs for decades will change that way - and a code rewrite has its own risks.
Thanks for pointing me to CodeAnalyst, Thor I will not use. Dev machine and internet- shudder. There is an air gap.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform