m_pFile = reinterpret_cast<CFile*>((*(reinterpret_cast<int*>(pMsg->content))))
很长。。看起来也够恐怖。。
配合 int nfilePointAddr = (int)this;
就能用char保存指针地址,然后传指针地址啦。。至于为什么要这么白痴的弄,,TMP的接口只能传数据不能传指针。。NND
m_pFile = reinterpret_cast<CFile*>((*(reinterpret_cast<int*>(pMsg->content))))
很长。。看起来也够恐怖。。
配合 int nfilePointAddr = (int)this;
就能用char保存指针地址,然后传指针地址啦。。至于为什么要这么白痴的弄,,TMP的接口只能传数据不能传指针。。NND