IMalloc 의 Free 멤버 함수를 찾을수 없다고"에러 날때 어떻게 고쳐야 하나여?
글쓴이: hys545 / 작성시간: 월, 2006/01/09 - 10:03오후
./utility/shellclasses.h:319: error: ‘struct IMalloc’ has no member named ‘Free’
에러 메세지
emplate<typename T> struct SShellPtr { ~SShellPtr() { _malloc->Free(_p);//에러 난 부분 } T* operator->() { return _p; } T const* operator->() const { return _p; } operator T const *() const { return _p; } const T& operator*() const { return *_p; } T& operator*() { return *_p;
shelllclass.h에서 에러난 부분
#define IMalloc_Free(p,a) (p)->lpVtbl->Free(p,a)
objidl.h에서 정의된 부분
File attachments:
첨부 | 파일 크기 |
---|---|
![]() | 288.86 KB |
![]() | 20.74 KB |
Forums:
댓글 달기