PA_GetStructureFullPath

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_GetStructureFullPath (structurePath)

ParameterTypeDescription
structurePathchar *Pointer to a char buffer
Full path of the structure file

Description

The routine PA_GetStructureFullPath fills the buffer pointed to by structPath with the full path name of the current structure in use.

NOTE

structPath can contain up to 255 characters.

Be sure to leave enough room for the path. It is a good habit to always use 255 length strings (declared as Str255 under MacOS or char[256] under Windows).

PA_GetStructureFullPath works like the Structure file 4D command.

WARNING:

If you call this command while running 4D Client, only the name of the structure file is returned; the long name is not returned.

Example

   char structPath[256];
   PA_getStructureFullPath( structPath );
   PA_Alert( structPath );

See Also

PA_GetApplicationFullPath, PA_GetDataName, PA_GetLogName, PA_GetStructureName, Structure file.

Error Handling

PA_GetLastError always returns eER_NoErr


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next