Forum Discussion
rminnich
13 years agoContributor
I notice that the class is defined in a different unit. I vaguely remember this error when trying to instantiate new objects when the class is in a different unit. I worked around this via a "constructor".
Try creating a function such as the following outside of the class definition, but inside the Linux_Classes file.
function create_data
set l = new InstanceOf_LinuxLoginData
create_data= l
end function
Use create_data when you need to create a new instance of the class.
Try creating a function such as the following outside of the class definition, but inside the Linux_Classes file.
function create_data
set l = new InstanceOf_LinuxLoginData
create_data= l
end function
Use create_data when you need to create a new instance of the class.