SET CLASSLIB Command
|Top Previous Next|
Loads a Visual Class Library (.VCX) and makes its classes available to CREATEOBJECT().
SET CLASSLIB TO ClassLibrary [ADDITIVE | ,ClassLibrary...]
Specifies the name of the class library. Guineu searches class libraries in the EXE or APP before looking for external files. When you don't specify a full path to the visual class library, Guineu will search the current SET PATH list.
When the ADDITIVE clause is used you can only specify a single class library. If the class library hasn't yet been loaded, the ADDITIVE clause will add the library to the list. Without this clause, the new list of libraries completely overwrites the existing list.
Guineu doesn't use .VCX libraries directly. Rather, GuineuIDE converts a library.VCX file into a library.VCX.PRG file. SET CLASSLIB searches for the compiled PRG file instead of the VCX file. This is relevant if you want to use external .VCX files. Please note that this behavior will change in the future.