# snmp extension dll works at 32bit but not at 64bit

• ### שאלה

• I have written a 32 bit SNMP extension agent dll in native C++ (since you have to write it this way).

This works on a Windows XP machine and a Windows 2003 server machine without any problems.

I have now installed it on a machine running Windows Server 2008 i.e. 64bit. (windows 7 for clients)

I have added my SNMP agent to the following registry location

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SNMP\Parameters\ExtensionAgents

My entry under this key references another registry location which has a Pathname entry which is set to "d:\test\PP.PixelPromo.Support.SnmpAgent.dll" as a REG_EXPAND_SZ type (as opposed to a REG_SZ type).

Every time that I start the SNMP service I get the following error in the event log:

The SNMP Service is ignoring extension agent dll "d:\test\PP.PixelPromo.Support.SnmpAgent.dll" because it is missing or misconfigured.

I have removed all the code from the SNMP agent dll except the 4 main entry points and even this gives me the error.

I cannot see anything wrong with the settings that I have made in the registry. This is obviously a 32 bit/64 bit issue but I cannot see what the issue is.

Can you help with this problem?

Thanks

Dafna Sahar

dafna_sahar@walla.co.il

• הועבר על-ידי יום חמישי 16 ינואר 2014 12:08
יום רביעי 04 דצמבר 2013 07:26