When a transform is no longer needed it can be released in order to conserve memnory.
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="ReleaseTransform")> _
Private Sub ReleaseTransform__(ByVal TransformHandle As IntPtr)
End Sub
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="ReleaseTransform")]
protected static extern void ReleaseTransform_(IntPtr TransformHandle);
{DLLImport}procedure ReleaseTransform__(TransformHandle: System.Pointer); cdecl; external uCalcDLL name 'ReleaseTransform';
typedef void (* __ReleaseTransform)(void *TransformHandle);
[DllImport(uCalcLib, CharSet=CharSet::Ansi, CallingConvention=CallingConvention::Cdecl, EntryPoint = "ReleaseTransform")]
static void ReleaseTransform_(void * TransformHandle);