I want to write a class derived from a class in a dll, but I don't want to use .lib file. So How to Explicit import class from dll?

Thanks a lot!