I want to be able to instantiate an object of this class and use it to
> validate some things like login and license validation.
This is one of the things that sound easier than they are in VFP due to the
program cache and VFP's project scope management. The cleanest approach
would be to have a main program in that EXE that instantiates the object:
LParameter tcAction, roRef
Case Upper(m.tcAction) == "CREATE"
roRef = NewObject("Test", "test.prg")
Then build the EXE and call it like this:
Do Test.EXE with "CREATE", loTest
? loTest.Hello ()
Obviously you would need to create your own set of actions and also handle
parameters if your class needs those.
A caveat, your other applications should not include a file or a class that
has the same name as the ones in your EXE, or VFP can sometimes confuse
both and crash.
--- StripMime Report -- processed MIME parts ---
text/plain (text body -- kept)
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.