Did you try NEWOBJECT(....   specifying the .prg directly?

On 17/06/2015 11:44, Man-wai Chang wrote:
I defined a class programmatically in MyClass.prg.
I SET PROCEDURE TO it in Main.prg.
I created a form, and in form.Init() I tried to
CREATEOBJECT("MyClass"), and that failed.
Once I SET PROCEDURE again in form.Init(), it worked.
Puzzling....

SET PROCEDURE TO doesn't work with programmatic class definition?

On Tue, Jun 16, 2015 at 7:50 PM, Fernando D. Bozzo <[email protected]> wrote:
SET PROCEDURE is not dependent of data session.

I don't really understand your problem, can you expand on the details?  How
you call, where you call, etc.


_______________________________________________
Post Messages to: [email protected]
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
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** 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.

Reply via email to