Click or drag to resize

CGXNETCoreiCheckError Method

Test if Geosoft function has terminated with an error

Namespace:  GeoEngine.Core.GXNet
Assembly:  geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntax
public static int iCheckError()

public static int iCheckError()

Return Value

Type: Int32
0 if no errors. 1 if an error has occured.
Remarks
For Geosoft functions that do not return an error condition (all of them except those specifically designed for DLL use) you must call this function to test if an error has occured in the Geosoft function. If an error has occured, just clean-up and return. Error messages will have been registered by the Geosoft function.
See Also