>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
Yes, even by forcing a SET CLASSLIB with the full path of the EXE with an alias name, it doesn't work. It still cannot find the library.