Hello,
first of all thanks for making net-snmp open-source!

I am trying to access the netsnmp.dll from my delphi program. This is basicly
successful.
I am able to create sessions, pdus and to send get and set requests from my
delphi program calling the needed functions from the dll (including the
calling of the callbacks with the decoded oid/value stuff. 

Now the problem: I can not call "init_snmp" (snmp_api.c) without raising an
exception. I have no idea what the reason is. I have tried to get the callback
stuff running to see the debug messages, but this will also not work, it seems
to need init_snmp itself. Since a lot of functions are not interfaced in the
dll, I am not able to bypass e.g. only init the transport mechanism whats
needed for the building of a trapd.
When my program runs further after the exception, the call for create
transport "netsnmp_tdomain_transport" (snmp_transport.c)
returns a pointer, while is returns NULL without snmp_init.


Any Ideas?

BTW: Since delphi has no capabilties to import variable from a dll it would be
nice to implement function to read the value, especially the errno variable.

Thanks and best regards
Ekkehard Domning


-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to