Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: SNMPAPI.DLL initialization failure
There appears to be a limit of 58 SendKeysTo commands before you get the following error:
"Initialization of the dynamic link library C:\WINDOWS\System32\snmpapi.dll failed. The process is terminating abnormally"The size of the string sent via the SendKeysTo command does not appear to matter.
I am getting around the problem by using the "Run" command to launch new WinBatch processes as I approach 50ish SendKeysTo commands, but it is kind of a sloppy approach.
Any suggestions?
There was a combination WinBatch/Windows SNMP bug that causes the problem you described. Download an update from our website. This bug as fixed in version 96M, and later versions of WinBatch.
It was some kind of resource leak in Windows, which was solved by adding:
IntControl(43,0,0,0,0)which fixes it in earlier versions, prior to WinBatch 96M.
Article ID: W12981
Filename: SNMPAPI Dll Problems.txt
File Created: 1999:04:15:16:50:56
Last Updated: 1999:04:15:16:50:56