This imports a transfrom from a file.  It can be a text file, in XML, uc, or ... format.
      
    
            
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="Import")> _
Private Function Import__(ByVal TransformHandle As IntPtr,ByVal FileName As String) As IntPtr
End Function
            
          
        
            
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="Import")]
protected static extern IntPtr Import_(IntPtr TransformHandle, string FileName);
            
          
        
            
{DLLImport}function Import__(TransformHandle: System.Pointer;FileName: AnsiString): System.Pointer; cdecl; external uCalcDLL name 'Import';
            
          
        
            
typedef uCalcPtr (* __Import)(void *TransformHandle, CONSTCHAR FileName ); 
            
          
        
            
[DllImport(uCalcLib, CharSet=CharSet::Ansi, CallingConvention=CallingConvention::Cdecl, EntryPoint = "Import")]
static uCalcPtr Import_(void *  TransformHandle, MARSHALSTR FileName);