PA_GetStructureFullPath


version 2003


PA_GetStructureFullPath (structurePath)

Parameter Type Description
structurePath char * 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