 | CSYSiFindPath Method (CGXNETCore, String, Int32, String) |
Get full path for a file with Geosoft subdirectory parameter.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static int iFindPath(
CGXNETCore gxNetShared,
string file,
int mode,
ref string fullname
)
public static int iFindPath(
CGXNETCore gxNetShared,
string file,
int mode,
ref string fullname
)
Public Shared Function iFindPath (
gxNetShared As CGXNETCore,
file As String,
mode As Integer,
ByRef fullname As String
) As Integer
Public Shared Function iFindPath (
gxNetShared As CGXNETCore,
file As String,
mode As Integer,
ByRef fullname As String
) As Integer
public:
static int iFindPath(
CGXNETCore^ gxNetShared,
String^ file,
int mode,
String^% fullname
)
public:
static int iFindPath(
CGXNETCore^ gxNetShared,
String^ file,
int mode,
String^% fullname
)
static member iFindPath :
gxNetShared : CGXNETCore *
file : string *
mode : int *
fullname : string byref -> int
static member iFindPath :
gxNetShared : CGXNETCore *
file : string *
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> - 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 variables
See Also