WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Compiler
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Large versus Small EXE Model

Keywords:    large EXE small EXE  cd-roms cdroms floppies floppy

Question:

I have a small problem though when I compile it. I have the WBT file in a seperate directory. When the compile EXE runs, it finds an older version of the wwwNT34I.dll file in c:\winnt and won't run. When I delete the copy in c:\winnt, it extracts the dll to the working directory. Otherwise, it finds the older, out of date dll in the path and won't work. Any chances of the ver of the compiler making the compiled exe delete, or more corectly, overwrite the older dll in c:\winnt?

Along those lines, is there a specific place the compiler copies the DLL? Is it different than the DirWindows(0) or DirWindows(1) directories? I seem to remember a problem where a version of the compiler copied the DLL to the root. Is there a method to the madness?

Answer:

Sorry no. You have to manually hunt down and destroy all the old DLL's.

There is some kind of VERSION command in each extender that you can use to verify you have the version you need.

This is also one of the reasons we STRONGLY recommend the small exe models for network installations. All you have to do is update the dlls, rather than hunt down all the big exe's that might have old copies of stuff in them.

Here's an explanatin of how big exe's work:

  1. When a big exe is launched, it first scans the local directory and the PATH looking for its main required DLL. If not found, then it proceeds to extract "EMERGENCY COPIES" out of itself and places them someplace.

  2. If running on a hard drive, it puts them in the same directory as the exe.

  3. If running on a floppy it puts the DLLS in the Windows directory (DirWindows(0)).

  4. When making CD-ROMS, we recommend small exe's and the required DLLs in the same directory.

  5. Big Exe's are generally just for emailing exe's and keeping things simple when delivering data on a floppy or something. (In our setup program - a compiled WinBatch script - we use a SMALL exe and put the DLL on the floppy)

Article ID:   W12794
Filename:   Large versus Small EXE Model.txt
File Created: 2001:03:01:14:59:24
Last Updated: 2001:03:01:14:59:24