Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Apphook Message
Message
From
20/11/2019 12:07:59
 
 
To
19/11/2019 13:50:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01671931
Message ID:
01671960
Views:
88
>I've started a new project from scratch. WHenever the project is opened I get a message "apphook class loaded...". I have no idea what that means.
>Despite that, I've done some initial work on it, and its been coming along. I tried a compile on it, and it completed. However, now when I run the program (either the .EXE or interactively) I get a SYNTAX error right away pointing to my "DO FORM XXX" in my main program. I don't understand what's going on. My main.prg contains almost nothing except some variab;e declarations, and it had been working fine.
>
>I'd appreciate any help on this.
>Rich Murillo

Most likely not the problem you're encountering, but nevertheless something worth keeping in mind (in the off-chance you have customers that use some East Asian languages). When running under Asian language environment (e.g. Chinese, Japanese, Korean), a double-byte system is often employed to allow for the encoding of the thousands of characters required for these languages. Typically the character codes that are involved with the double-byte characters are in the upper ASCII range (i.e. character codes 128 thru 255). Where this becomes the "gotcha" is if you happen to have string literals that contain characters within this range -- and in particular if such a character is at the end of the string literal (basically the high-ASCII character at the end would signal the beginning of a double-byte sequence -- causing the ending quote mark to be "eaten" -- resulting in an unterminated string literal, which typically results in seemingly mysterious errors like syntax to start occurring. On the upside, this sort of issue doesn't happen if you happen to be using the CHR() function to construct the string.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform