Click or drag to resize

CSYSShowError Method

Display any errors to the user.

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

public static void ShowError(
	CGXNETCore gxNetShared
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
Remarks
If you call a GX from another GX using iRunGX_SYS, and the called GX registers errors, they will not be displayed until after the "top" GX exits. If you wish to continue without exiting, call this function so that errors are displayed immediately to the user. For instance, when creating a new map from inside another GX: --- Run NEWMAP wizard. Keep trying if something is wrong (like a too-small map scale), but exit if the user cancels (iRet==-1) --- do { iRet = iRunGX_SYS("newmap.gx"); if(iRet==1) ShowError_SYS(); // Dump errors. } while(iRet==1); This wrapper is not intended for use outside a GX, because it uses the GX run-time machinery to display the error messages.
See Also