Programmers Reference - CLibrary (1)
class CLibrary : public CObject
#include "LabLib.h"
class LABLIB_EXT CLibrary : public CObject { public: CLibrary(const CString &aDllName = ""); virtual ~CLibrary(); inline BOOL ValidLibrary() const; // Returns TRUE if the library was loaded. CObject* DynamicCreate(const CString &aClassName); CString BrowseClasses(CWnd* pParent = NULL, const CString baseClass = "CObject"); // Returns the selected class or "" DECLARE_SERIAL(CLibrary); };
The CLibrary class is used for dynamic creation of objects. For information on serialization of objects - se Serialization.
Last Modified 10 January 2019