Forum Discussion
ekiza23
13 years agoContributor
Thanks,
but InstanceOf_LinuxLoginData is exactly that, a constructor for LinuxLoginData outside of the class but within the same unit. It is supposed to return the object (with a Set <FunctionName> command, and it is working well so far. The problem I am experiencing does not seem to be with the creation of that object, but rather with the invocation of the subs and functions in the Script Extension.
Note that the exact same code works well if instead of a Script Extension it is used as an additional Unit of the project, but then I have to add this unit to all the projects that use it, instead of benefitting from the Script Extensions functionality.
but InstanceOf_LinuxLoginData is exactly that, a constructor for LinuxLoginData outside of the class but within the same unit. It is supposed to return the object (with a Set <FunctionName> command, and it is working well so far. The problem I am experiencing does not seem to be with the creation of that object, but rather with the invocation of the subs and functions in the Script Extension.
Note that the exact same code works well if instead of a Script Extension it is used as an additional Unit of the project, but then I have to add this unit to all the projects that use it, instead of benefitting from the Script Extensions functionality.