All Cadcorp SIS API Methods



Starts the conversation with SIS Desktop. This should be called only once per application program typically in the Load event of the main form.


Visual Basic
Public Function SetupLink( _
   ByVal hWndForm As Integer _
) As Integer


The form containing the command buttons.

Return Type

The window handle (hWnd) of the SIS Desktop application. This may be stored and used by the Windows API method SetForegroundWindow.

Non-zero - link succeeded
0        - link failed


In SIS the glcore32.dll is replaced by the Cadcorp.SIS.GisLink.dll. The dll is available with Cadcorp SIS Desktop in the install directory and must be copied into either the Systems32 or the SysWOW64 directory (dependent on the Windows OS version).

In Cadcorp SIS Desktop GisLinks will have restricted access to methods and properties (e.g. variant type properties cannot be used).

Other applications can only access the Map Window Control and its context menu via GisLink. Access to the Ribbon Control or other Control Bars is not possible.

Available: D



Private Sub fclsStartup_Load(ByVal sender As System.Object, ByVal e As _
  System.EventArgs) Handles MyBase.Load
SisHwnd = GisSetupLink(Me.Handle)
If SisHwnd = 0 Then
  MsgBox("Error connecting to SIS application", MsgBoxStyle.Exclamation,"GisLink")

End If
End Sub