[AGENT++] class Adress

aymen amri amriaymen at hotmail.com
Fri Oct 1 18:57:58 CEST 2010


Hi all

I want to send an snmp request.
I declared in the file agentx_master.cpp an object as follows :
Address serv_adr;

and I want to pass it as argument in the function send_snmp_request(...);

But the error tells : Impossible to do the instanciation of an abstract Class

1>c:\documents and settings\amri\bureau\cleanwork\agent++win32\examples\agentx_master\agentx_master.cpp(82): error C2259: 'Address' : impossible d'instancier une classe abstraite
1>          à cause des membres suivants :
1>          'const char *SnmpSyntax::get_printable(void) const' : est abstrait
1>          c:\documents and settings\amri\bureau\cleanwork\snmp++\include\snmp_pp\smival.h(125) : voir la déclaration de 'SnmpSyntax::get_printable'
1>          'SmiUINT32 SnmpSyntax::get_syntax(void) const' : est abstrait
......


What Shall I do to send this request and how can I  declare this Address variable ?

Thanks
With Regards
 		 	   		  


More information about the AGENTPP mailing list