Additionally, I used VS2005 to Debug it, I find it ocurred in the "extern OFCondition InvalidTag" in the initialization of errorFlag of DcmTag class, the client called the DLL, the Dll call the functions as follows:
How to solve it?
Thank you!!
Code: Select all
/// copy constructor
OFCondition(const OFCondition& arg)
: theCondition(arg.theCondition->clone())
{
assert(theCondition);
}
/** this method returns a pointer to a OFConditionBase object containing a clone
* of this object. If deletable() is true, the clone must be a deep copy allocated
* on the heap. If deletable() is false, the clone should be a pointer to this.
* @return clone of this object, either deep copy or alias.
*/
virtual const OFConditionBase *clone() const = 0;