>The problem is that we have deployed that at a large scale. There are numerous projects and PRGs using CREATEOBJECT() for the creation of that main class object. We just cannot change that approach at this time. What we can do however is to exclude the sub class library from the EXE and store it on disk. This will require two additional files on the server but if that resolves the issue, I'll consider this.
I see. I just tried with CreateObject(). Well, maybe my simulation was not the same with the way you created your class, but it works fine too.
More about it, I think CreateObject will not work properly with the main class in COM mode. Because CreateObject() needs SET CLASSLIB, and this command only applied to APP or EXE. I'm not sure if it is COM EXE, haven't try it
Good luck
Herman