05 2010 档案

bulk insert with identity column
摘要: Today, I was looking for geting a solution to insert a lot of line into SQL server with high performance. I got a way is using BULK INSERT ... to insert huge record into table. It is really high perfo...阅读全文

posted @ 2010-05-31 18:08 moonz-wu 阅读(157) | 评论 (0) 编辑

隐藏控制台程序的窗口
摘要: 网上有很多的例子都说可以修改linker的subsystem熟悉来实现。#pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" )但这种方法我们需要自己提供一个额外的WinMain入口函数。事实上一种比较简单的方法去隐藏控制台程序的窗口是利用 FreeConsole() 函数来实现。对于的函数Alloc...阅读全文

posted @ 2010-05-11 23:56 moonz-wu 阅读(74) | 评论 (0) 编辑