| CSYSiFindPathEx Method |
Get full path for a file.
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 variable
Syntax public static int iFindPathEx(
string str1,
int i2,
int i3,
ref string str4
)
Public Shared Function iFindPathEx (
str1 As String,
i2 As Integer,
i3 As Integer,
ByRef str4 As String
) As Integer
public:
static int iFindPathEx(
String^ str1,
int i2,
int i3,
String^% str4
)
static member iFindPathEx :
str1 : string *
i2 : int *
i3 : int *
str4 : string byref -> int
Parameters
- str1
- Type: SystemString
File to get path name for - i2
- Type: SystemInt32
See SYS_SEARCH_PATHConstant - i3
- Type: SystemInt32
See GEO_DIRECTORYConstant - str4
- Type: SystemString
Buffer to place path name into
Return Value
Type:
Int32
0 if file found.
1 if file not found.
See Also