<div>Hi Tamas,</div>
<div>&nbsp;</div>
<div>I&#39;ve opened a ticket for this exception, you can take a look here.</div>
<div>&nbsp;</div>
<div><a href="http://trac.osgeo.org/mapserver/ticket/2255">http://trac.osgeo.org/mapserver/ticket/2255</a></div>
<div>&nbsp;</div>
<div>hope that it can be fixed soon.</div>
<div>&nbsp;</div>
<div>if you need any further information, please let me know.</div>
<div>&nbsp;</div>
<div>Best Regards</div>
<div>&nbsp;</div>
<div>Zhonghai</div>
<div>&nbsp;</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/22/07, <b class="gmail_sendername">Tamas Szekeres</b> &lt;<a href="mailto:szekerest@gmail.com">szekerest@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Zhonghai,<br><br>Please submit a ticket including the exception message you get.<br><br><a href="http://trac.osgeo.org/mapserver/newticket">
http://trac.osgeo.org/mapserver/newticket</a><br><br>Best regards,<br><br>Tamas<br><br><br>2007/8/22, Zhonghai Wang &lt;<a href="mailto:zhonghaiw@gmail.com">zhonghaiw@gmail.com</a>&gt;:<br>&gt; Hi guys,<br>&gt;<br>&gt; I&#39;ve compiled the MapServer 
5.0beta3 myself with VS2005, things are working<br>&gt; perfectly, but today I get problem with the imageObj.write() and<br>&gt; imageObj.getBytes(), these two functions always cause an exception. What i<br>&gt; can do is only to use the method 
imageObj.save(), this function works well.<br>&gt;<br>&gt; does anyone get the same problem like me, or have I done anything wrong with<br>&gt; the compilation in VS2005?<br>&gt;<br>&gt; any hints are welcome.<br>&gt;<br>
&gt; Best Regards<br>&gt;<br>&gt; Zhonghai<br></blockquote></div><br>