摘要: CMakeLists.txt project(xxx) add_library(xxx SHARED xxx.cpp) add_executable(yyy yyy.cpp) target_link_libraries(yyy xxx) xxx.h #ifndef XXX_XXX_H #define XXX_XXX_H #endif #pragma once #ifdef BUILD_XXX... 阅读全文
posted @ 2016-06-11 15:06 佩雷尔曼的信徒 阅读(802) 评论(0) 推荐(0)
摘要: CMakeLists.txt project(xxx) add_library(xxx SHARED xxx.cpp) add_executable(yyy yyy.cpp) target_link_libraries(yyy xxx) xxx.h #ifndef XXX_XXX_H #define XXX_XXX_H #endif #pragma once #ifdef B... 阅读全文
posted @ 2016-06-11 13:35 佩雷尔曼的信徒 阅读(1139) 评论(0) 推荐(0)
摘要: import ctypes h = ctypes.windll.LoadLibrary("C:\\Windows\\System32\\user32.dll") h.MessageBoxW(0, u'内容', u'标题', 0) 阅读全文
posted @ 2016-06-11 00:37 佩雷尔曼的信徒 阅读(2423) 评论(0) 推荐(0)