Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Batch Initialization Error, Err Num 10

Keywords:  Batch Initialization Error, Err Num 10
  

Question:

When running compiled WinBatch code on some machines, I get a Batch Initialization Error, Err Num 10.

The machine in question is a WIN95 machine. It does have an older version of the WinBatch compiler installed. The WBT version of the program runs fine. Any ideas what to look for????

Answer:

In the 32 bit version of WinBatch it is a umm "Bad Environment" error. I'm not sure what that means exactly...its one of those Microsoft errors.

In the 16 bit version it says "Incorrect Windows Version".

Obviously the script is upset. What version of Windows are you running this on. It will not work on Windows 3.0 (We need at least 3.1 to survive)

What about the machines the script fails on? What version of WinBatch and 16/32 bit WinBatch. Is Win32s involved??? WinBatch 32 cannot properly run on Windows 3.1 machines with Win32S installed - although I would suspect a different sort of error. Make sure you have the latest version of WinBatch.

Basically the EXE file is running, and when it attempts to link with its DLL it fails. There's probably going to be a bad or corrupt copy of the DLL out there someplace (85% probability), or a bad network card ( 2%).

A user reported that this error when another (newer) version of a DLL he was using was installed on his system, as follows:

One of the process files executed downloaded a newer version of DDEML.DLL from its source directory. The newer DLL was from a Win95 machine. The target machines are Win31. So, the error description 'Invalid Windows Version' is somewhat correct.

DDEML.DLL runs most DDE operations. Not a lot of Windows 3.1 apps use it.


Article ID:   W12963
Filename:   Batch Initialization Error 10.txt