2019年2月28日

点击Qtableview表头,触发事件

摘要: refer to http://developer.qt.nokia.com/faq/answer/how_can_i_sort_the_items_in_a_qtablewidget_on_multiple_columns https://bbs.csdn.net/topics/360139821 阅读全文

posted @ 2019-02-28 18:21 liujx2019 阅读(2419) 评论(0) 推荐(0) 编辑

变参数的宏

摘要: 其中 阅读全文

posted @ 2019-02-28 15:56 liujx2019 阅读(84) 评论(0) 推荐(0) 编辑

用互斥锁实现程序只能有一个实例

摘要: HANDLE mSingleInstanceMutex = NULL; bool moreThanOneInstance() { mSingleInstanceMutex = CreateMutex(NULL, FALSE, L"SingleNFDLinkGUI"); if (NULL == mSingleInstanceMutex || ERROR_ALREADY_EXIST... 阅读全文

posted @ 2019-02-28 15:54 liujx2019 阅读(334) 评论(0) 推荐(0) 编辑

Visual Studio 2015 + Windows 2012 R2, c++/cli Array::Sort() 抛出异常

摘要: 在Windows7上编译就是正常。 可见Windows2012 R2缺少了一些东西。 另外,有一个现象一样,但原因不一样的 https://stackoverflow.com/questions/4641715/c-cli-application-crashing-randomly-on-relea 阅读全文

posted @ 2019-02-28 15:47 liujx2019 阅读(225) 评论(0) 推荐(0) 编辑

导航