diff --git a/C#.NET/source/Yitter.IdGenTest/Program.cs b/C#.NET/source/Yitter.IdGenTest/Program.cs index aff8cb5c79a3480fcf7eedeb0cdae962efe32efd..8c8cc9cce3d3ee2da12bdc485260447293c2e97c 100644 --- a/C#.NET/source/Yitter.IdGenTest/Program.cs +++ b/C#.NET/source/Yitter.IdGenTest/Program.cs @@ -54,17 +54,17 @@ namespace Yitter.OrgSystem.TestA while (true) { - RunSingle(); + //RunSingle(); // Go(options); - // RustDll(); + CallDll(); Thread.Sleep(1000); // 每隔1秒执行一次Go } } - [DllImport("yitidgen.dll", CallingConvention = CallingConvention.StdCall)] + [DllImport("yitidgenc.dll", CallingConvention = CallingConvention.StdCall)] public static extern long NextId(); - private static void RustDll() + private static void CallDll() { int i = 0; long id = 0;