Page 1 of 1

Readme.txt : Environment SL1

Posted: Sun Apr 17, 2016 8:42 pm
by Auge_Ohr
Example for Xbase++ 1.9 (SL1 - Build 355):

SET PATH=%path%;C:\exp20\bin19_sl1;C:\exp19\bin
i think it must be

Code: Select all

C:\exp20\bin19_sl1;c:\exp20\Bin19\

Re: Readme.txt : Environment SL1

Posted: Sun Apr 17, 2016 8:50 pm
by Auge_Ohr
have de-install old C:\EXP19 and installed C:\EXP20.
now i want to change User Environment ... but this need Admin Right (i work as normal User)

... and does NOT change on User

Code: Select all

HKEY_CURRENT_USER\Environment
what is the best Way to change User Path / LIB / INCLUDE from C:\EXP19\... to C:\EXP20\... ?

Re: Readme.txt : Environment SL1

Posted: Mon Apr 18, 2016 7:37 am
by Cliff Wiernik
Roger does it via a batch file that modifies the environment. I am doing this with Xb2.0 testing. But normally I renamed the folders so the environment did not need to be changed. Always had the folder in use for Express as c:\exp

Re: Readme.txt : Environment SL1

Posted: Mon Apr 18, 2016 10:32 am
by rdonnay
SET PATH=%path%;C:\exp20\bin19_sl1;C:\exp19\bin
This was a mistake in the README.TXT file. I corrected it.

It should be (corrected in build 264):

Code: Select all

     Example for Xbase++ 1.9 (SL1 - Build 355):

       SET PATH=%path%;C:\exp20\bin19_sl1;C:\exp20\bin
       SET LIB=%lib%;C:\exp20\lib
       SET INCLUDE=%include%;C:\exp20\include

Re: Readme.txt : Environment SL1

Posted: Mon Apr 18, 2016 3:08 pm
by Auge_Ohr
Cliff Wiernik wrote:Roger does it via a batch file that modifies the environment. I am doing this with Xb2.0 testing. But normally I renamed the folders so the environment did not need to be changed. Always had the folder in use for Express as c:\exp
where do i find that BAT ?

in Readme.txt i found
4. Don't forget to add eXpress++ subdirectories to your PATH, LIB and INCLUDE environment variables.

Re: Readme.txt : Environment SL1

Posted: Mon Apr 18, 2016 7:44 pm
by rdonnay
where do i find that BAT ?
This is one of my typical batch files.
I have many of them.

1 for each build of eXpress++

This one is for build 264:

Code: Select all

@SET PATH=C:\public
@SET PATH=%path%;C:\Program Files (x86)\Advantage 10.0\ARC
@SET PATH=%path%;c:\WINDOWS;c:\WINDOWS\system32;c:\WINDOWS\command;c:\WINDOWS\system32\wbem
@SET PATH=%path%;c:\exp20264\bin20
@SET PATH=%path%;c:\Program Files (x86)\Alaska Software\xpp20\bin
@SET PATH=%path%;C:\Program Files (x86)\Alaska Software\xpp20\lib
@SET PATH=%path%;C:\Program Files (x86)\Alaska Software\common20
@SET PATH=%path%;C:\exp20264\util;c:\exp20264\bin
@SET PATH=%path%;C:\sqlexpress20\sqlxpp
@SET PATH=%path%;C:\bdms\lib

@SET INCLUDE=C:\Program Files (x86)\Alaska Software\xpp20\include
@SET INCLUDE=%include%;C:\exp20264\include
@SET INCLUDE=%include%;C:\sqlexpress20\sqlxpp
@SET INCLUDE=%include%;C:\xb2net20\xb2net
@SET INCLUDE=%include%;c:\alaska\adsw3219\source\samples\adsdbe\console
@SET INCLUDE=%include%;c:\bdms\include

@SET LIB=C:\Program Files (x86)\Alaska Software\xpp20\lib
@SET LIB=%lib%;c:\exp20264\lib
@SET LIB=%lib%;C:\sqlexpress20\sqlxpp
@SET LIB=%lib%;C:\xb2net20\xb2net
@SET LIB=%lib%;C:\kl_mle
@SET LIB=%lib%;C:\bdms\lib

@SET XPPRESOURCE=c:\exp20264\lib

@SET CODEJOCK_VERSION=13.0.0

@SET TEMP=c:\temp
@SET TMP=c:\temp

@SET OBJ=

@CALL DOSKEY DIR=DIR /o-d /p $1 $2