Displaying 1 result from an estimated 1 matches for "ntranslatemode".
2008 Jan 04
5
win32-api callback causes ruby to application error (crash).
...39;SnmpCreateSession'', ''LLKP'', ''L'', ''Wsnmp32'')
SnmpRegister = API.new(''SnmpRegister'', ''LLLLPL'', ''L'', ''Wsnmp32'')
nMajorVersion = 0.chr * 4
MinorVersion = 0.chr * 4
nTranslateMode = 0.chr * 4
nRetransmitMode = 0.chr * 4
nLevel = 0.chr * 4
result = SnmpStartup.call(nMajorVersion, MinorVersion, nLevel,
nTranslateMode, nRetransmitMode)
puts "SnmpStartup: #{result}"
printf("nMajorVersion: %s MinorVersion: %s nLevel: %s nTranslateMode: %s
nRetransmitMode: %s\n"...