Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to protect application codes
Message
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00502381
Message ID:
00503871
Views:
18
>Larry,
>
>
>Thanks for the suggestion. I have another idea though but I didn't know if it would be safe. We tried to place our class in a folder outside the application folder. So when we made the setup and after it was installed, the application performed without a glitch. The idea was to deploy the application without its class since the forms already inherited its code. When someone else opens the installed project it will report that class cannot be found.Do you think this would be safe in the long run?
>
>
>
>Jun k.

Jun,
This wouldn't work. The form inherits the class behavior but the class has to be present in order for the code to work. What will happen is the class will get drawn into the project or (if you exclude it) the class will have to exist in the path when the end user attempts to run the form.

The class code is not compiled into the form. A pointer to the class is included in the form and VFP looks for it at run-time. If it's in the EXE, great; if not, then it will throw an error.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform