FoxDataObjects

Object-Relational Mapping Tool for Visual FoxPro®

 LibrariesFolder   Property

 

 

Specifies the full path and file name for the FDO libraries to be used (FLL, VCX and H files).

 Server.LibrariesFolder [=cFullPathFolderName]

 

Property Values

 

String

Remarks

  When the Server.NewSession method creates a session object, it initializes the FDO.FLL issuing a SET LIBRARY TO... ADDITIVE statement. It enables the session object to use all the core C++ persistence functions and services. This property is used to specify a location for the library file to use. If empty, FDO searches on the current directory for a valid FLL file.

By default, all FDO libraries and files should be located together along with your main application files. If those files are moved or relocated the new location of libraries must be indicated using this property prior to create any session object, so FDO can find and open the FLL library file at runtime. At development time, the Schema Manager mapping tool uses his own FDO libraries copies from the Schema Manager install folder.

Note: If your solution needs to open additional FLL libraries after a session object creation, remember to add the ADDITIVE keyword in the SET LIBRARY command.

 

See Also

Server.NewSession method

Applies to: Server object

Send feedback on this topic to RunAhead Technologies

For Technical support and product issues please contact us at support@foxdataobjects.com or visit http://www.foxdataobjects.com

Copyright (c) 2000-2005 RunAhead Technologies