A manage to some DEVNAMEStructure that identifies the motive force, machine, and output port names of a certain printer. When your software is an OLE server, simply call this operate to retrieve a pointer towards the Lively principal window of the application instead of specifically referring to your m_pMainWnd member https://cwin.pet/