コード例 #1
0
        /// <summary>Returns the names of used local and external procedures</summary>
        public HTuple GetUsedProcedureNames()
        {
            IntPtr tuple;

            HDevProgram.HCkE(HalconAPI.CreateTuple(out tuple));
            HDevProgram.HCkE(EngineAPI.GetUsedProcedureNamesForProgram(this.program, tuple));
            GC.KeepAlive((object)this);
            HTuple htuple = HalconAPI.LoadTuple(tuple);

            HDevProgram.HCkE(HalconAPI.DestroyTuple(tuple));
            return(htuple);
        }