<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=922301709-12082008><FONT face=Verdana size=2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Hello</SPAN><?xml:namespace prefix 
= o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT 
face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">I have a major problem when using 
imgMapObj.getBytes(). <o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">The memory will be 
corrupt. The problem doesn't occur when using the save function. &nbsp;I have 
not seen the problem on other servers so the problem seams to be related to a 
specific server (Windows Server 2003 standard edition). <o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Error 
msg<o:p></o:p></SPAN></P>
<P><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">++++++++++++++++++++++<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">Attempted to read or 
write protected memory. This is often an indication that other memory is 
corrupt.<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">&nbsp;&nbsp; at 
OSGeo.MapServer.mapscriptPINVOKE.imageObj_getBytes(HandleRef jarg1, 
SWIGByteArrayDelegate jarg2)<BR>&nbsp;&nbsp; at 
OSGeo.MapServer.imageObj.getBytes(SWIGByteArrayDelegate 
callback)<BR>&nbsp;&nbsp; at OSGeo.MapServer.imageObj.getBytes()<BR>&nbsp;&nbsp; 
at WMData.GIS.GMSAgent_WP.Libs.MapEngine.Get_Image(XmlDocument xmlDoc, Boolean 
bRetImage) in C:\Project\applications\GMS\GMSAgent_WP\Libs\MapEngine.cs:line 
298<BR>++++++++++++++++++++++<o:p></o:p></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana">I use mapserver in c# 
and&nbsp;I have version 5.2.0. <o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p><FONT face="Times New Roman" 
size=3>&nbsp;</FONT></o:p></FONT></SPAN><SPAN class=922301709-12082008><FONT 
face=Verdana size=2><FONT size=2><SPAN 
class=922301709-12082008>/Johan</SPAN></FONT></FONT></SPAN></P></DIV>
<DIV class=Section1>
<DIV 
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 1.5pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 1pt; BORDER-BOTTOM: medium none; mso-element: para-border-div">
<H3 
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN: 0cm 0cm 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-top-alt: solid windowtext 1.5pt; mso-padding-alt: 1.0pt 0cm 0cm 0cm"><SPAN 
lang=SV 
style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial; mso-ansi-language: SV">Johan 
Hallgren</SPAN><SPAN lang=SV 
style="FONT-FAMILY: Verdana; mso-bidi-font-family: Arial; mso-ansi-language: SV"><o:p></o:p></SPAN></H3></DIV>
<DIV 
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 1pt; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; mso-element: para-border-div; mso-border-bottom-alt: solid windowtext .5pt">
<P class=MsoNormal 
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-padding-alt: 0cm 0cm 1.0pt 0cm; mso-border-bottom-alt: solid windowtext .5pt"><SPAN 
class=SpellE><B style="mso-bidi-font-weight: normal"><SPAN lang=SV 
style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial; mso-ansi-language: SV">Logica</SPAN></B></SPAN><B 
style="mso-bidi-font-weight: normal"><SPAN lang=SV 
style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial; mso-ansi-language: SV"><BR></SPAN></B><SPAN 
lang=SV 
style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial; mso-ansi-language: SV">Pelle 
Bergs backe 3<BR>Box 1938,&nbsp;791 19 Falun<BR><SPAN 
style="mso-no-proof: yes">Tel (och mobil): 023-547&nbsp;46 (int: 
+46-2354746)<BR></SPAN><U><SPAN style="COLOR: blue"><A 
href="mailto:johan.hallgren@logica.com">johan.hallgren@logica.com</A><BR></SPAN></U><A 
title=blocked::https://webaccess.wmdata.com/exchweb/bin/redir.asp?URL=http://www.wmdata.se/ 
href="http://www.logica.se/" target=_blank>http://www.logica.se</A></SPAN><SPAN 
lang=SV 
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; mso-bidi-font-family: Arial; mso-ansi-language: SV"><o:p></o:p></SPAN></P></DIV></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>