[AGENT++] Bug in NotificationOriginator->add_v3_trap_destination()?
Josh Pressnell
joshua.pressnell at rti-world.com
Tue Feb 7 16:50:48 CET 2006
Greetings all...
I've gone back and compared project settings setting-by-setting, and
everything seems kosher. I've even gone so far as to remove libtomcrypt
and use libdes (simpler), which was compiled from a new project using
fresh source and the exact settings as the other projects.
Still no luck. creating a new object and then immediately deleting it
causes death while screaming in pain.
Since there are no build instructions or setup instructions for VC++ 6.0
(other than the very basic setup in the FAQ), I acknowledge that it is
possible that I've misconfigured something or am missing something
critical to make this all work. Could someone maybe post a simple
step-by-step of what should be included in a new VC++ 6.0 static library
project to make this work?
-Josh
Jochen Katz wrote:
> Hi Joshua,
>
>
>> more tidbit that might aide in finding the source. I removed *all* code
>> in the agent. I then allocate one Mib object. Without putting anything
>> in it, I then immediately delete it. This still causes a crash.
>>
>
> Mib *m = new Mib();
> delete m;
>
> If code like this crashes,it is very very likely that your
> project/compiler settigns are inconsistent.
> - check that all of snmp++/agent++/your app are compiled with the same
> settings; if for example SNMPv3 is disabled for the libs but enabled for
> your app, it won't work.
> - If you use dlls/.so: make sure that the runtime linker does not find
> any old versions of the dll/.so
> - Verify manually that all intermediate files are removed before doing a
> complete rebuild of all parts.
>
> Regards,
> Jochen
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
>
> .
>
>
--
-- Official RTI e-mail ---
--
More information about the AGENTPP
mailing list