You only declared the static member, you need to define it (initialize ) somewhere in the .cpp file. strictly speaking, C++ forbids initializing static member variable in the class declaration(.h file), unless it is a constant integer type.

numnum (numnum)
(#67344@0)
2001-5-11 -05:00

回到话题: 初学COM,请高手指教,也欢迎初学者讨论。题目是:“如何在多个COM OBJECT之间共享数据?”

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=67344