Microsoft Foundation OLE Classes (mfcole.hlp) (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
COleServer::Register
COleServer                                  Up Contents Index Back
──Microsoft Foundation OLE Classes──────────────────────────────────────────
 
  BOOL Register( const char FAR* lpszClass, BOOL bMultiInstance );
 
  Parameter        Description
 
  <lpszClass>      A null-terminated string that specifies the class name
                   of an OLE server document type.
 
  <bMultiInstance> TRUE if your server application can run multiple
                   instances (SDI); FALSE if one server application can
                   handle multiple clients (MDI).
 
  Remarks
 
  Registers the specified server, class name, and instance with
  OLESVR.DLL. You must call the Register member function to inform the OLE
  dynamic-link libraries that your server is ready to accept requests from
  clients.
 
 
                                     -♦-