<DIV>Hi, there,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm trying to use visual studio to compile the sign1.c sample code in windows. I got the following errors:</DIV>
<DIV>&nbsp;</DIV>
<DIV>--------------------Configuration: sign1 - Win32 Debug--------------------<BR>Compiling...<BR>sign1.c<BR>C:\myweb\xml\sign1.c(95) : warning C4013: 'xmlSecCryptoAppInit' undefined; assuming extern returning int<BR>C:\myweb\xml\sign1.c(101) : warning C4013: 'xmlSecCryptoInit' undefined; assuming extern returning int<BR>C:\myweb\xml\sign1.c(111) : warning C4013: 'xmlSecCryptoShutdown' undefined; assuming extern returning int<BR>C:\myweb\xml\sign1.c(114) : warning C4013: 'xmlSecCryptoAppShutdown' undefined; assuming extern returning int<BR>C:\myweb\xml\sign1.c(169) : warning C4013: 'xmlSecCryptoAppKeyLoad' undefined; assuming extern returning int<BR>C:\myweb\xml\sign1.c(169) : warning C4047: '=' : 'struct _xmlSecKey *' differs in levels of indirection from 'int '</DIV>
<DIV>sign1.obj - 0 error(s), 6 warning(s)<BR>-----------------------------------------------------------------</DIV>
<DIV>&nbsp;</DIV>
<DIV>Did you miss something? I copied the original code from Aleksey's web page. I'm a newbie in both visual studio stuff and xml security. I read the archive of this list and checked the FAQ, but didn't get any luck. </DIV>
<DIV>&nbsp;</DIV>
<DIV>Was the sign1.c written specifically for linux box? Should I modify something? I already added the following code:</DIV>
<DIV>&nbsp;</DIV>
<DIV>---------------------------------------------------------------</DIV>
<DIV>&nbsp;#define LIBXML_STATIC<BR>&nbsp;#define LIBXSLT_STATIC<BR>&nbsp;#define XMLSEC_STATIC<BR>&nbsp;#define ICONV_STATIC<BR>&nbsp;#define ZLIB_STATIC<BR>---------------------------------------------------------------</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you very much!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jay</DIV><p>
                <hr size=1><font face=arial size=-1>Do you Yahoo!?<br><a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/hotjobs_mail_signature_footer_textlink/evt=23983/*http://hotjobs.sweepstakes.yahoo.com/careermakeover">Win a $20,000 Career Makeover at Yahoo! HotJobs </a>