[AGENT++] How to use the snmpRowStatus class

Jochen Katz katz at agentpp.com
Fri May 25 20:50:45 CEST 2012


Hello,

> And I have a new question for you. I want to send a trap from my
> agent, and I use the class NotificationOriginator, but when my
> program runs to NotificationOriginator::generate(), it raise a
> exception of "Access Violation". Could you tell me how to use the
> class and its member functions, or send trap by other method?

an "access violation" looks like a problem in your code. Without the
code and stack trace we cannot help much.
But you can compare your code to one of the agent++ examples, that
also use the NotificationOriginator.

Regards,
  Jochen


More information about the AGENTPP mailing list