| CSYSiFindPath Method |
Get full path for a file with Geosoft subdirectory parameter.
Available since Oasis montaj version: 6.0.1
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
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
Syntax public static int iFindPath(
string str1,
int i2,
ref string str3
)
Public Shared Function iFindPath (
str1 As String,
i2 As Integer,
ByRef str3 As String
) As Integer
public:
static int iFindPath(
String^ str1,
int i2,
String^% str3
)
static member iFindPath :
str1 : string *
i2 : int *
str3 : string byref -> int
Parameters
- str1
- Type: SystemString
File to get path name for - i2
- Type: SystemInt32
See SYS_SEARCH_PATHConstant - str3
- Type: SystemString
Buffer to place path name into
Return Value
Type:
Int32
0 if file found.
1 if file not found.
See Also