 | CSYSiFindPathEx Method (CGXNETCore, String, Int32, Int32, String) |
Get full path for a file.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static int iFindPathEx(
CGXNETCore gxNetShared,
string file,
int mode,
int dir_mode,
ref string fullname
)
public static int iFindPathEx(
CGXNETCore gxNetShared,
string file,
int mode,
int dir_mode,
ref string fullname
)
Public Shared Function iFindPathEx (
gxNetShared As CGXNETCore,
file As String,
mode As Integer,
dir_mode As Integer,
ByRef fullname As String
) As Integer
Public Shared Function iFindPathEx (
gxNetShared As CGXNETCore,
file As String,
mode As Integer,
dir_mode As Integer,
ByRef fullname As String
) As Integer
public:
static int iFindPathEx(
CGXNETCore^ gxNetShared,
String^ file,
int mode,
int dir_mode,
String^% fullname
)
public:
static int iFindPathEx(
CGXNETCore^ gxNetShared,
String^ file,
int mode,
int dir_mode,
String^% fullname
)
static member iFindPathEx :
gxNetShared : CGXNETCore *
file : string *
mode : int *
dir_mode : int *
fullname : string byref -> int
static member iFindPathEx :
gxNetShared : CGXNETCore *
file : string *
mode : int *
dir_mode : int *
fullname : string byref -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - file
- Type: SystemString
File to get path name for - mode
- Type: SystemInt32
<define>SYS_SEARCH_PATH</define> - dir_mode
- Type: SystemInt32
<define>GEO_DIRECTORY</define> - fullname
- Type: SystemString
Buffer to place path name into
Return Value
Type:
Int32
0 if file found.
1 if file not found.
Remarks
Directories can be resolved from the Environment section of the
Geosoft registry, or from system environment variables that are
not defined in the Geosoft Environment registry. The following
file prefixes will be replaced by the environment settings:
<geosoft> the main Geosoft installation directory
<geosoft2> the secondary Geosoft installation directory
<geotemp> the Geosoft temporary file directory
<windows> the operating system Windows directory
<system> the operating system system directory
<other> other environment variable
See Also