Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What happens to 'SET PROC TO'
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00068511
Message ID:
00068549
Views:
37
>My program recently refused to exit stating that "Procedure CLEANUP"
>cannot be found. This proc is in PROCLIB.PRG and should have been compiled
>into the .EXE, right?
Larry,

There are a number of commands that could do this to you. CLEAR ALL, CLOSE ALL, SET PROC TO with no argument, a SET PROC TO OtherLib without the ADDITIVE option, ...

VFOX is not closng the proclib on you, so your code is closing it somewhere. You could put SET("PROCEDURE") in the watch window with a break point on it. Then run your app, every time the proc setting is changed your app will suspend and show you the line of code that did it in the trace window.
Previous
Reply
Map
View

Click here to load this message in the networking platform