MDI main form in EXE, MDI child windows in DLL

Is it possible to have the MDI main form in an executable and the MDI child
window in a seperate DLL ?
When I do this, I always get the message 'No active MDI main form' !

Thanks.