Wilson WindowWare Tech Support

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


EXE Won't Launch on other PC's

Keywords:        compiled wbc exe large option launch run compiler 

Problem: A compiled Exe, compiled with the LARGE option will not work on a different PC.

Questions:

Is the other PC on the network?

Is the other PC's Windows directory on the network? Write protected?

Solution:

In the LARGE option, there are a number of WinBatch net commands necessary to launch the EXE. They are the BASIC and the EXTENDED commands. The BASIC commands are built into the executable, the EXTENDED, or NETDLL's, are not built in. The theory is that the NETDLLs are only useful on the network.

When you run the LARGE exe, it looks for a certain DLL, wbdbxyyy.dll. It searchs the path and the network drive. If it is found, it happily links up and continues. If it is not found, it tries to make the DLL itself in the users Windows directory. In order for the EXE to create the DLL itself, it must have 200K. If there is not enough space, the program will not launch.

DO the following:

1. Check the size of the Windows directory.

2. Check to see if the DLL is already there.

3. Copy the DLL directly into the user's Windows directory.

The other possibility is that the DLL already exists, but that it is a old copy which is resisting being updated.


Article ID:   W12788
Filename:   EXE Wont Launch on other PCs.txt