예제 #1
0
        public static void Run()
        {
            TextNative.TextSetVersionStr("1.0.0.1");
            StringBuilder sb = new StringBuilder(256);

            TextNative.TextGetVersionStr(sb, 256);
            System.Diagnostics.Debug.WriteLine(sb.ToString());

            VERSION setVer = new VERSION();

            setVer.major = "가나다라";
            setVer.minor = "ABCD1234";
            TextNative.TextSetVersion(ref setVer);

            VERSION getVer = new VERSION();

            TextNative.TextGetVersion(ref getVer);
            System.Diagnostics.Debug.WriteLine(getVer.major + ", " + getVer.minor);
        }
예제 #2
0
 public static extern void TextGetVersion(ref VERSION ver);