"User Lib not found" if runtime.dll is in PATH

Archives Forums/Blitz3D Bug Reports/"User Lib not found" if runtime.dll is in PATH

Placekeeper(Posted 2006) [#1]
Ump third attempt to post this in the right forum ;)


When I created executables ("blitzcc -o test.exe test.bb") of a BB program that uses userlibs, I always got a "User Lib not found" error message when i executed it.

Then I noticed that it wouldn't happen when I set the PATH variable empty, so I started to investigate.

I had %BLITZPATH%\Blitz3d\bin in my PATH variable, and when I removed it, the error message didn't pop up anymore.

Then I tried to rename single files from the bin directory and - bingo - it was runtime.dll


BTW It's also runtime.dll if I compile using -d


Placekeeper(Posted 2006) [#2]
Same bug if you copy runtime.dll to the exe directory.