Click or drag to resize
CSYSiFindPath Method (CGXNETCore, String, Int32, String, Int32)
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.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.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(
	CGXNETCore gxNetShared,
	string file,
	int mode,
	ref string fullname,
	int size
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
file
Type: SystemString
File to get path name for
mode
Type: SystemInt32
&lt;define&gt;SYS_SEARCH_PATH&lt;/define&gt;
fullname
Type: SystemString
Buffer to place path name into
size
Type: SystemInt32
Size of Buffer

Return Value

Type: Int32
0 if file found. 1 if file not found.
See Also