[xmlsec] compile example

Aleksey Sanin aleksey at aleksey.com
Thu Mar 27 21:04:43 PST 2003

Ok, I believe it's "mixed MS runtime" problem. It crashes on this line:

        xmlDumpDoc(output, doc);

at the very end of the example. The solution is to set code generation to
"Multithreaded DLL" (/MD). Note: *not* "Debug Multithreaded DLL"
even for debug project.

The attached is MS VC project and make files. The assumption is that
all include and library files for all libraries 
are in "include" and "lib" folders of the top project folder. Change it 
if necessary.

With best regards,

Aleksey Sanin wrote:

>> Slava Kostin wrote:
>>> Compiled binary was not chashing in simple start or on other tests. It
>>> is crashing only while processing dsig1-tmpl.xml.
> What is the stack trace? The "mixed MS runtime" problem cause usualy 
> crashes
> either in first IO function or in malloc/free.
> Aleksey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dsig1.zip
Type: application/x-zip-compressed
Size: 2848 bytes
Desc: not available
Url : http://www.aleksey.com/pipermail/xmlsec/attachments/20030327/274124d4/dsig1.bin

More information about the xmlsec mailing list