THIS.AgentObject = CREATEOBJECT("Agent.Control")however, i need to fill some of the methods and events in the agent, so i created a sub class in my .vcx. now i am trying to call the agent as follows:
THIS.AgentObject = NewOBJECT("msagent", "classes\msagent_wrapper.vcx")here i am getting the error "Object Class is invalid for this container". Why can i do it 1 way but not the other, and what can i do about it since i need to populate the methods/events with some code?