WinCE 6.0 snmapi.lib in a SDK? RRS feed

  • Question

  • Hi,

    I'm trying to develop an snmp extension (dll). But, I can't figure out how to include snmpapi.lib and snmp.h in my platform SDK... The only way I see is to add the public\common\oak\...\armv4i\retail directory to my sdk, which doesn't make sense to me.

    Any idea?


    Friday, April 22, 2011 5:33 PM

All replies

  • The only other way would be to copy the needed files to your SDK folder prior to rolling the SDK.

    See for a way to automate the copy.

    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG

    Eurotech Inc.
    Friday, April 22, 2011 5:59 PM
  • Thanks, it works fine!

    Other question: I'm trying to make my snmp agent dll to start but it doesn't... Here is my config:


    snmpsmf.dll $(_PROJECTROOT)\snmpsmf.dll NK SHK


    "3" = "SOFTWARE\\Cybectec\\ExtensionAgent\\CurrentVersion"
    "Pathname" = "snmpsmf.dll"
    "sysContact" = ""
    "sysLocation" = ""

    SNMP is working but my agent doesn't seems to be loaded. Is there anything else to do to have my agent dll to load?






    Monday, May 16, 2011 8:55 PM
  • David:

    I think that you need to remove the K flag from the bib file:

    snmpsmf.dll $(_PROJECTROOT)\snmpsmf.dll NK SH

    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG

    Eurotech Inc.
    Monday, May 16, 2011 9:48 PM
  • Thanks Bruce, but unfortunately, it is still not loading.

    Note that the dll is working when I load it manually with LoadLibrary.

    Here is the content of my def file:

    ; DESCRIPTION 'SNMP Extension Agent for Smf Application'

    Is there any way to get retailmsg from the snmp dll (snmp.dll)? I think this is this dll which is responsible to load the extensio, right?


    Tuesday, May 17, 2011 12:44 AM
  • After a rebuild, the dll is loading...

    Still having other problems but at least it loads.

    Thanks for the help.

    Thursday, May 19, 2011 7:52 PM