Batch DLL Initialization Error 22
Keywords: Batch Initialization Error 22
Question:
I get this error when running a large compiled 16-bit EXE, on some of my PCs that have Windows 95, using the 16-bit compiler.On others, the same PC works just fine.
Answer:
22 = ERROR_BAD_COMMAND: "The device does not recognize the command"This error isn't documented as being supposed to happen in 16-bit versions.Sounds like something very strange going on. Could be a corrupt DLL. Does WBDBP16I.DLL actually get extracted? Maybe search for any stray copies of that DLL, and then try it again (and check again for the DLL having been extracted). Or copy over a known good copy of the DLL. And it couldn't hurt to get the latest version of Winbatch.
Resolution:
The user searched to see if any of the DLL's had been copied, and found the WBDBP16I.DLL file name existed but had a file size of 0. When he deleted the file name the batch procedure worked.Most likely the earlier failed attempt to run this procedure caused the file name to be created, but failed to actually copy the file.
Article ID: W12962Filename: Batch DLL Initialization Error 22.txt