<P>
Hi Guys,&nbsp;  <BR>
<BR>
&nbsp; &nbsp; I am trying to use the latest vtkDICOMImageReader class but when I compile the app, I get linker errors related to vtkTypeRevisionMacro &amp; New( )functions in the vtkDICOMImageReader.h file.<BR>
<BR>
== CUT ==<BR>
<BR>
class CTestDicomImage : public vtkImageReader2<BR>
{<BR>
 public:<BR>
&nbsp; static CTLADicomImage *New();<BR>
&nbsp; vtkTypeRevisionMacro( CTLADicomImage, vtkImageReader2);<BR>
&nbsp; .....<BR>
&nbsp; .....<BR>
&nbsp; .....<BR>
}<BR>
<BR>
== CUT ==<BR>
<BR>
The linker errors I get are these...<BR>
 <BR>
TLADicomImage.obj : error LNK2001: unresolved external symbol &quot;protected: virtual void __thiscall CTestDicomImage::CollectRevisions(class ostream &amp;)&quot; (?CollectRevisions@CTestDicomImage@@MAEXAAVostream@@@Z)<BR>
TLADicomImage.obj : error LNK2001: unresolved external symbol &quot;public: static class CTestDicomImage * __cdecl CTestDicomImage::New(void)&quot; (?New@CTestDicomImage@@SAPAV1@XZ)<BR>
<BR>
As you guys would have noticed, I am not using the vtkDICOMImageReader class as is... Using them as is gives me several linker errors. So I created a dummy C++ class on VC++ 6.0 &amp; used the content of vtkDICOMImageReader &amp; replaced all vtkDICOMImageReader occurances with my Test class name i.e. CTestDicomImage. I had to remove the references to the vtkstd in the vtkDICOMImageReaderVector class as its a recent implementation while I am still using VTK 4.0( I suppose I will replace them with some other MFC list or collections). Everything seems fine except for these 2 linker errors. Whats going wrong here???<BR>
<BR>
Could someone give some helpful pointers. What is the revision macro used for??? Why is there no implementation of *New() in most .cxx files. Am I missing something???<BR>
<BR>
Cheers,<BR>
Michael&nbsp; <BR>

</P>
<br><br>
<A target="_blank" HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>