PDA

View Full Version : problem of frameReady



webmice
March 30, 2004, 21:32:11
I Creat callback as your sample , OverlayCallBack is worked fine but framreay have the following message

What problem ???

Listener.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CListener::frameReady(class DShowLib::Grabber &,class smart_ptr<class DShowLib::MemBuffer,class refcount_ptr<class DShowLib::MemBuffer> >,unsigned long)" (?fra
meReady@CListener@@UAEXAAVGrabber@DShowLib@@V?$sma rt_ptr@VMemBuffer@DShowLib@@V?$refcount_ptr@VMemBu ffer@DShowLib@@@@@@K@Z)

Stefan Geissler
March 31, 2004, 08:38:12
Did you add the files Listener.h and Listener.cpp to your project?

webmice
March 31, 2004, 08:40:48
when I enable the framready code in Listener.h the problem come out

webmice
March 31, 2004, 08:48:47
when I enable the framready code in Listener.h the problem come out

Stefan Geissler
March 31, 2004, 09:24:16
This error message means, that the CListener::frameReady is defined in a header file (listener.h) but the link does not find the function in your source codes. This can also happen, if the function parameters differ in the header and the cpp file.

webmice
March 31, 2004, 20:22:21
WORK!!