<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am using the sample code in <a
href="http://www.aleksey.com/xmlsec/api/xmlsec-examples-sign-dynamimc-template.html">http://www.aleksey.com/xmlsec/api/xmlsec-examples-sign-dynamimc-template.html</a><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>To get my XML signature…..<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I assumed I did everyuthing right.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I pretty much copy/paste the code, I included every library
that needs to be added.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Everything compiles!<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>BUT…. When I ran it….<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The program crashes on the call to the function </span></font><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'> xmlDocDump(stdout,
doc);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>It ran everything fine until trying to execute that
function..<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>Does anyone knows why?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>I am using vc7.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>Thanks.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>yee</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><b><font
size=2 color="#ff6600" face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:#FF6600'>Yee Hsu</span></font></b></strong><b><font size=2
color="#ff6600" face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:#FF6600;font-weight:bold'><br>
</span></font></b><strong><b><font size=1 color=black face=Arial><span
style='font-size:7.5pt;font-family:Arial;color:black'>OPSWAT Inc.</span></font></b></strong><b><font
size=1 color=black face=Arial><span style='font-size:7.5pt;font-family:Arial;
color:black;font-weight:bold'><br>
<st1:Street w:st="on"><st1:address w:st="on"><strong><b><font face=Arial><span
style='font-family:Arial'><u1:Street u2:st="on"><u1:address style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x" tabIndex="0" u2:st="on"><u1:Street u2:st="on"><u1:address u2:st="on">480
2nd St. Suite 303</span></font></b></strong></st1:address></st1:Street><br>
<st1:place w:st="on"><st1:City w:st="on"><strong><b><font face=Arial><span
style='font-family:Arial'></u1:address></u1:Street></u1:address></u1:Street><u1:place u2:st="on"><u1:City u2:st="on"><u1:place u2:st="on"><u1:City u2:st="on">San
Francisco</span></font></b></strong></st1:City><strong><b><font face=Arial><span
style='font-family:Arial'></u1:place></u1:City></u1:City>, <u1:State u2:st="on"><u1:State u2:st="on"><st1:State
w:st="on">CA</u1:State></u1:State></st1:State> <u1:PostalCode u2:st="on"><u1:PostalCode u2:st="on"><st1:PostalCode
w:st="on">94107-1426</u1:PostalCode></u1:PostalCode></st1:PostalCode></span></font></b></strong></st1:place><br>
</u1:place><strong><b><font face=Arial><span style='font-family:Arial'>Phone: </span></font></b></strong></span></font></b><font
size=1 color=black face=Arial><span style='font-size:7.5pt;font-family:Arial;
color:black'>415-543-1534<br>
<strong><b><font face=Arial><span style='font-family:Arial'>Fax:
</span></font></b></strong>415-543-1282<br>
<a href="mailto:yeehsu@opswat.com"
title="BLOCKED::mailto:benny@opswat.com mailto:benny@opswat.com"><strong><b><font
color=black face=Arial
title="BLOCKED::mailto:benny@opswat.com mailto:benny@opswat.com"><span
title="BLOCKED::mailto:benny@opswat.com mailto:benny@opswat.com"><span
title="BLOCKED::mailto:benny@opswat.com mailto:benny@opswat.com"><span
style='font-family:Arial;color:black;text-decoration:none'><span
title="BLOCKED::mailto:benny@opswat.com"><span
title="BLOCKED::mailto:benny@opswat.com mailto:benny@opswat.com"><span
title="BLOCKED::mailto:benny@opswat.com mailto:benny@opswat.com">yeehsu@opswat.com</span></span></span></font></span></b></span></strong></span></a></span></font><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'><br>
</span></font><font size=1 color=black face=Arial><span style='font-size:7.5pt;
font-family:Arial;color:black'><a href="http://www.opswat.com"
title="BLOCKED::http://www.opswat.com/ http://www.opswat.com/"><strong><b><font
color=black face=Arial
title="BLOCKED::http://www.opswat.com/ http://www.opswat.com/"><span
title="BLOCKED::http://www.opswat.com/ http://www.opswat.com/"><span
title="BLOCKED::http://www.opswat.com/ http://www.opswat.com/"><span
style='font-family:Arial;color:windowtext;text-decoration:none'><span
title="BLOCKED::http://www.opswat.com/"><span
title="BLOCKED::http://www.opswat.com/ http://www.opswat.com/">www.opswat.com</span></span></span></font></span></b></span></strong></a></span></font><o:p></o:p></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>