MibLeaf validity
"Nölle, Jochen"
jochen.noelle____accellence.de
Tue Aug 20 11:11:58 CEST 2002
because delivery of this mail seems to have failed, this is a second try
(sorry if you receive this twice)
Hello,
I am a bit confused about the valid() function in MibLeaf:
When I use the function MibLeaf::set_value(const unsigned long l) the
valid-flag LEAF_VALUE_INITIALIZED is set, but when I use
MibLeaf::set_value(const Vbx& vb) it is not set. When the
MibLeaf-content is de-serialized with MibLeaf::deserialize(char* buf,
int& sz) from file it is not set, too.
In my opinion it should be set because the mib leaf contains a valid
variable.
Another question relates to the logging support. When an application is
started the first time from a directory, I get an unhandled exception
(access violation) in threads.cpp in thread_starter in a call to
LOG_BEGIN(DEBUG_LOG | 1); The compiler flag _NO_LOGGING is not defined
and the object defaultLog::log contains a valid address. Starting the
application again, no error occures. Because LOG_BEGIN is a macro, I am
not able to step into the code. Any suggestions?
Thanks & with best regards,
Jochen Nölle
More information about the AGENTPP
mailing list