On 03/19/12 18:35, Fulko Hew wrote: > (Note: regardless of whether I run' vcvars32.bat x86' or choose 'x64', > the cl.exe command lines always show '/D "WIN32"' being used.)
That's expected. A quote from http://msdn.microsoft.com/en-us/library/b0084kay.aspx: *_WIN32 - *Defined for applications for Win32 and Win64. Always defined. > I was told by the dev team that 'there wasn't a 'recent Windows x64 > build of Net-SNMP' > and that the latest available binaries are only for Net-SNMP v 5.5 (or > before) > (FYI we need a version that contains a fix from circa Nov 2011? > "sysobjectid configurable > (successfully) via snmpd.conf".) Unfortunately the installer of the most recent Net-SNMP Windows binaries contains some code that prevents the 32-bit binaries to be installed on a 64-bit Windows system. A 32-bit build of Net-SNMP runs fine on a 64-bit Windows system as far as I know. > That would also imply that the Microsoft agent supports both 32 bit > and 64 bit DLLs, and that Net-SNMP can only load one or the other? Sorry but as far as I know that's impossible. A quote from http://msdn.microsoft.com/en-us/magazine/cc300794.aspx: Towards that end, x64 versions of Windows include the WOW64 subsystem that lets Win32 and Win64 processes run side-by-side on the same system. However, loading your 32-bit DLL into a 64-bit process, or vice versa, isn't supported. > ... So I thought I'd compile with vcvarsall.bat x86 (expecting to see > the 'other' 3 DLLs fail to load). > Now I see (when using snmp -DALL) that snmpd sees only _5_ DLLs to load > (it omitted the wow64mib) and its now _hanging_ (instead) on the first > one it tries (eventagnt.dll). All I can say is that winExtDLL behaved as expected in the tests I ran. With which Windows version did this occur ? Bart. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders