Wilson WindowWare Tech Support

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


Batch DLL Initialization, Err Num 193
WINMM.DLL Not a Valid Windows NT Image

Keywords:     Batch DLL Initialization, Err Num 193  WINMM.DLL

Question:

I'm running a very simple large compiled EXE up on my Windows NT 3.51 machine, and when I go to launch it, I'm getting the following error:
	WINMM.DLL Not a Valid Windows NT Image
	Please check this against your installation disk
then I hit OK, and get the following Winbatch error:
	Error 193:  Batch DLL Initialization Error
I see that my WinBatch DLL (WBDBN32I.DLL) is getting written out to the directory in which I've installed the compiled EXE. What's my problem?

Answer:

WINMM.DLL is a Windows multimedia DLL. When WinBatch launches, we scout around and link to a bunch of Windows DLLs including this one, in case we need them later on in the script.

If one of these DLLs is toast, then we'll complain with this error message.

Replace the WINMM.DLL with a good one from another machine with the same version of Windows, and try running it again. That will most likely fix the problem.


Article ID:   W12960
Filename:   Batch DLL Initialization Err Num 193 - WINMM.DLL Not Valid.txt