>Hello everybody,
> I am working in an error trapping routine and I have the next problem,
> MESSAGE(1) shows one thing under development and other thing at run time
> When I run under development myApplication.exe, which calls MyErrorApplication.app MESSAGE(1) shows the line of code
>with the error, but , when I run myApplication.exe outside FoxPro it
>shows me something totally different.
> Why is that ?
>
> Thanks much in advance.
From the Hacker's Guide:
MESSAGE(1) is a funny function. When you're running the interactive version of VFP, sometimes it returns the original line of code even if the program file is specifically compiled with the encrypt option! Sometimes, rather than displaying the entire line of code, the error handler translates the tokenized FoxPro command into its original form, and displays it with an ellipsis if additional information was included in the command. The Help claims this occurs when "the source code is unavailable." We've usually found that to mean when the source file is not in the current directory or on the path. Finally, in the runtime version, MESSAGE(1) returns the same error message that's displayed with MESSAGE().
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only