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.

Extract Files on Removeable Drive

 Keywords:  Extract Files DLLs Removeable Drive Force Large EXE Folder Directory Removable Drive USB Thumb

Question:

I get errors about DLLs not found when running compiled programs from a thumb drive.

Answer:

I sounds like you are using a Large Exe compile option. When this type of EXE is run, it attempts to unload it dlls to the Windows directory when the CWD is on a removable drive. Instead we recommend using a Small Exe and place the various dlls files in the same directory as your EXE.

If you must use the Large Exe compile option be sure the "Force large exe file extracted to EXE folder on removable drives." setting is checked in the compiler's "Modify Configuration Settings" dialog before compiling the exe.


Article ID:   W17692
Filename:   Extract Files on Removeable Drive.txt
File Created: 2012:05:10:14:23:04
Last Updated: 2012:05:10:14:23:04