Click or drag to resize

CSYSTerminate Method

DLL error termination

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static void Terminate(
	CGXNETCore gxNetShared,
	string name
)

public static void Terminate(
	CGXNETCore gxNetShared,
	string name
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
name
Type: SystemString
Module name
Remarks
Call this function immediately before returning to the caller after an error has occurred inside the DLL. If an error has occurred, you should clean-up (free memory, close files), call Error_SYS to register your own error messages, call ErrorTag_SYS to set any error message tags, call Terminate_SYS and return. Geosoft functions that detect an error will have already registered their own errors and called Terminate_SYS.
See Also