An OLE server must include the following OWL header files:
An SDI application includes OLEFRAME.H instead of OLEMDIFR.H.