Thank you all that replyed. Here is what I tried:
DOMNode *findNextDSIGNode(DOMNode *n, const char * nodeName)
{
const XMLCh * name = getDSIGLocalName(n);
if (strEquals(name, nodeName)) {
if (iSignatureFound==iSignatureCount) //skip previous
"Signature" nodes
Milan,
First a question - is iSignatureCount a global? If so, this approach
may not be thread safe. An alternative (if threading is an issue) might
be to pass in the previous found node to findNext.
strEquals should be able to handle a mixture of XMLCh and char strings,
but it will assume th
> First a question - is iSignatureCount a global?
Yes.
> If so, this approach
> may not be thread safe. An alternative (if threading is an
> issue) might
> be to pass in the previous found node to findNext.
My app is not multithreaded. I was looking for quick solution.
> strEquals should be
That almost smells like a mismatch between run-time libraries. The
Debug version of xsec uses the Debug DLL runtime and the release the
normal DLL runtime.
For various reasons, the debug also uses the MFC in a shared DLL.
BTW - You should be able to debug through the DLL if it is compiled with