![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
zealotds
初来乍到
展开
-
一个STL对象的DLL边界传递问题
c++, DLL, std::string, STL, crt这里有非常详细的一篇[url=http://www.gamedev.net/topic/337108-passing-stdstring-over-dll-boundaries/]讨论[/url]仅供参考也有可能是一个[url=http://support.microsoft.com/kb/172396/en-us/]已知的...2011-09-01 21:29:52 · 229 阅读 · 0 评论 -
推荐一篇C与C++混合编程的文章
相信对于还在维护一些C代码的C++程序员会非常有帮助:[url=http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html][size=large]How to mix C and C++[/size][/url]原创 2011-09-01 21:37:36 · 93 阅读 · 0 评论 -
MinGW Dynamic / Static Library Link
By default MinGW gcc links your program with shared library(to make sure you can use VS toolkit "depends.exe" to check the dependency although it may claims some errors).默认情况下,MinGW GCC 使用动态连接库连接你的程...原创 2012-05-22 17:42:41 · 283 阅读 · 0 评论 -
C++ Access Control Modifiers / C++ 访问控制符
I saw many debates on the web about the access control modifier. And I also have some confusion although I have never used other derive method than "public". And I believe only the compiler will tell ...原创 2012-05-23 11:30:31 · 168 阅读 · 0 评论 -
Linux Shared Library (DLL) & -rpath,'$ORIGIN'
[size=large]The Argument -rpath,'$ORIGIN'[/size]Needs to be prefixed with "-Wl," for most Linux OS (or "-R" for Solaris, -brtl for AIX and "-Wl,+b" for HPUX). It is to pass linker options to your ...原创 2012-10-11 18:38:27 · 606 阅读 · 0 评论