Ejemplo n.º 1
0
        internal static int SetProcedurePath(IntPtr engine, string path)
        {
            IntPtr hglobalUtf8Encoding = HalconAPI.ToHGlobalUtf8Encoding(path);
            int    num = EngineAPI.HCenSetProcedurePath(engine, hglobalUtf8Encoding);

            Marshal.FreeHGlobal(hglobalUtf8Encoding);
            return(num);
        }