Compile DLL with VC++

Chris Mitchell <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,
   
  When I try to compile the DLL, I follow the instructions exactly, but end up with the following errors during the link stage of libsnmp_dll...
   
  1>snmp_logging.obj : error LNK2019: unresolved external symbol __imp__CloseEventLog@4 referenced in function _snmp_disable_syslog_entry
  1>snmp_logging.obj : error LNK2019: unresolved external symbol __imp__OpenEventLogA@8 referenced in function _snmp_enable_syslog_ident
  1>snmp_logging.obj : error LNK2019: unresolved external symbol __imp__ReportEventA@36 referenced in function _log_handler_syslog
  1>system.obj : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function _get_uptime
  1>tools.obj : error LNK2001: unresolved external symbol __imp__RegCloseKey@4
  1>system.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function _get_uptime
  1>tools.obj : error LNK2001: unresolved external symbol __imp__RegQueryValueExA@24
  1>tools.obj : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function _netsnmp_getenv
  1>../bin/debug/netsnmp.dll : fatal error LNK1120: 6 unresolved externals
   
  Honestly, I am not that great with Visual Studio C++ as this was my first adventure into it, and if the error isn't apparent, I would be satisfied with just getting the DLL file sent to me if someone wouldn't mind. 
   
  Thanks,
  Chris

       
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
 Play Sims Stories at Yahoo! Games.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.