<DIV>Which version of VC++ do you use ?<BR><BR><B><I>Sean McInerney &lt;seanm@nmr.mgh.harvard.edu&gt;</I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">First off, I think this is a Windows-only runtime error and may be <BR>specific to MSVC++.<BR><BR>The same error occurred for me using VTK with FLTK, but was not <BR>directly related to either toolkit. Instead, the error was produced by <BR>non-member functions used as callbacks to vtkProcessObject progress <BR>events. The problem was eliminated by the switch to use of vtkCommand <BR>functors. Without special Microsoft C++ extensions garbage, I think the <BR>runtime environment sees global callback functions as C calls and is <BR>unable to use them since they were compiled as C++. Without resorting to <BR>uglifying your source with '__cdecl' (or something else?), simply making <BR>your callbacks static members of a class might eliminate the "ESP" error.<BR><BR>Also consult the evil empire itself:<BR><BR><HTTP:
 default.asp?url="/library/en-us/vclang/html/_core_Calling_Conventions_Topics.asp" library msdn.microsoft.com><BR><BR>-Sean<BR></BLOCKQUOTE></DIV><BR><BR>Aurélien REGAT-BARREL<p>
                Dialoguez en direct avec vos amis grāce ą <a href="http://fr.rd.yahoo.com/messenger/mail_taglines/yahoofr/*http://fr.messenger.yahoo.com/downloadactivex/index.html" target="_blank">Yahoo! Messenger !</a>