"Filesystem demo" runtime error

in Help Center
I am writing the "Filesystem demo" on the user mannul.
It compiled well and linked well but resulted in a runtime error.
When I steped over the code, I found a sentence
Ice::Identity myID = Ice::stringToIdentity( parent ? IceUtil::generateUUID() : "RootDir" );
triggered this debug assertion failure .
It seems that this segment of code in <xstring> caused the assertion failure when calling IceUtil::generateUUID().
~basic_string()
{ // destroy the string
_Tidy(true);
}
I don't know what's that.Anyone can help me?
regards
oops
It compiled well and linked well but resulted in a runtime error.
When I steped over the code, I found a sentence
Ice::Identity myID = Ice::stringToIdentity( parent ? IceUtil::generateUUID() : "RootDir" );
triggered this debug assertion failure .
It seems that this segment of code in <xstring> caused the assertion failure when calling IceUtil::generateUUID().
~basic_string()
{ // destroy the string
_Tidy(true);
}
I don't know what's that.Anyone can help me?
regards
oops
0
Comments
I assume you are using Visual C++ 6.0 with STLport? Two reasons typically cause problems:
Do I still need a STLport?
Yes, I mixxed dubug lib and release one, it's working now.
Thank you very much.
Maybe you can write a FAQ list, that will be much helpful for newcomers
The problem with mixing debug and release really doesn't have much to do with Ice. It's the same problem with any Visual C++ application.