Sony,
If MyProj.MyClass was developed with VFP, you should just include the classlib in your project and create a normal VFP subclass. This is by far the easiest way to work with it.
create classlib NewClasslib
create class MySubclass of NewClasslib as MyClass from SomeOtherClasslib
or do it prg based as your second example.
Creating subclasses of ActiveX controls has pitfalls that the above methods do not.
>I won't be able to write something like
>Define class mynewclass as MyProj.MyClass && subclassing directly from DLL.
>
>Enddefine
>
>instead, I have to include the myClass Class in the project and write
>Define class mynewclass as myClass
>
>enddefine