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)
2001-5-11 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

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

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论