1
Networking / Re: [SOLVED] Networking not working In Virtual Box
« on: April 03, 2024, 07:47:33 pm »
@Glenn: re length of PATH and LIBPATH. Many programs add their own directory to the system path so you can start them from the command line. If you will only ever use a program object you can remove this entry from PATH; if there's a LIBPATH entry you can remove this and add a BEGINLIBPATH setting to the program object. If you do want to start the program from a command line, one workaround is to create a batch file which can go somewhere in your PATH, which can set BEGINLIBPATH and launch the program. e.g.if foo.exe installs into c:`programs\foo and puts its DLLs in c:\programs\foo\lib, foo.cmd could be
@echo off
set BEGINLIBPATH=c:\programs\foo\lib
c:\programs\foo.exe %1
(I expect this isn't the best you can do - maybe others will correct.)
@echo off
set BEGINLIBPATH=c:\programs\foo\lib
c:\programs\foo.exe %1
(I expect this isn't the best you can do - maybe others will correct.)