<DIV>Hi,<BR>On both ANSI and UNICODE some functions names are translated.<BR>Open vtk dlls with dependencywalker and look for GetClassName, RemoveProp, etc...<BR>You will find GetClassNameA, RemovePropA, ...<BR><A href="http://www.chez.com/regatbar/getclassname.png">http://www.chez.com/regatbar/getclassname.png</A><BR>(copy-paste the link on IE if you fails to directly open it).<BR>So, as your code is also translated to GetClassNameA, RemovePropA, it works.<BR>But, if you #undef GetClassName or #undef RemoveProp, or if you #define UNICODE it will not work, as he compiler will respectively look for RemoveProp or RemovePropW.<BR>I&nbsp;made a proposal to correct this.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; de Boer Ingo &lt;<A href="mailto:I.deBoer@polytec.de">I.deBoer@polytec.de</A>&gt; wrote:<BR>&nbsp;&nbsp;&nbsp; Hi,<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; &gt; The right solution : remove windows.h from vtk headers !!!<BR>&nbsp;&nbsp;&nbsp; Is this only for the UNICODE version or for the normal aswell ?<BR>&nbsp;&nbsp;&nbsp; I made some change to the vtk sources to make it compile in<BR>&nbsp;&nbsp;&nbsp; UNICODE. Maybe this one should be added ?!<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; <A href="http://www.vtk.org/Bug/bug.php?op=show&amp;bugid=602">http://www.vtk.org/Bug/bug.php?op=show&amp;bugid=602</A><BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; greets<BR>&nbsp;&nbsp;&nbsp; Ingo<BR></DIV><BR><BR>Aurélien REGAT-BARREL<p>
                <hr size=1>
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
<br><a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/mail/mail_taglines/default/*http://fr.benefits.yahoo.com/">Créez votre Yahoo! Mail</a>
<br><br>
Dialoguez en direct avec vos amis grâce à <a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com/">Yahoo! Messenger !</a>