<div>Please help me!</div>  <div>I'm using VisualC++ 6.0<BR>I created a class which is inherited from vtkCommand<BR>//--------------------------------------------------<BR>class ExCallback : public vtkCommand<BR>{<BR>public:<BR>&nbsp; static ExCallback *New()<BR>&nbsp;&nbsp;&nbsp; { return ::new ExCallback; }</div>  <div>&nbsp; virtual void Execute(vtkObject *caller, unsigned long, void*)<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp; vtkRenderWindowInteractor&nbsp; *interactor = reinterpret_cast&lt;vtkRenderWindowInteractor *&gt;(caller);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int X = interactor-&gt;GetEventPosition()[0];<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int Y = interactor-&gt;GetEventPosition()[1];</div>  <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 interactor-&gt;GetPicker()-&gt;Pick(X,Y,0.0,aRenderer);<BR>&nbsp;&nbsp;&nbsp; }<BR>private:<BR>&nbsp; ExCallback(): Renderer(0) {}<BR>public:<BR>&nbsp; vtkRenderer *Renderer;<BR>};</div>  <div>//-----------------------------------</div>  <div>Then compiled ===&gt; No ERROR occurs</div>  <div>But when it was used in a function :</div>  <div>void myFunc()<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp; ....................................<BR>&nbsp;&nbsp;&nbsp; ExCallback *myCallback = ExCallback::New();<BR>&nbsp;&nbsp; //error occurs when compiling this sentence</div>  <div>&nbsp;&nbsp; myCallback-&gt;Renderer = Renderer;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp; ................................<BR>}<BR>2 errors occur :<BR>error LNK2001: unresolved external symbol "public: virtual char const * __thiscall vtkObjectBase::GetClassNameW(void)const " (<A href="mailto:?GetClassNameW@vtkObjectBase@@UBEPBDXZ">?GetClassNameW@vtkObjectBase@@UBEPBDXZ</A>)</div> 
 <div>fatal error LNK1120: 1 unresolved externals</div>  <div>&nbsp;</div>  <div>My email address : <A href="mailto:pinoxio_kt@yahoo.com">pinoxio_kt@yahoo.com</A></div>  <div>Thank you !</div>  <div><BR>&nbsp;</div><p>&#32;
                <hr size=1>Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com"> Great rates starting at 1¢/min.