Page 1 of 4

Where can I download BCC582?

Posted: Thu Mar 08, 2012 6:35 am
by dutch
Dear All,

as subject.

Regards,
Dutch

Re: Where can I download BCC582?

Posted: Thu Mar 08, 2012 12:15 pm
by Antonio Linares
http://www.embarcadero.com/downloads

Check your email for more detailed instructions

Re: Where can I download BCC582?

Posted: Sat Mar 10, 2012 3:46 pm
by dutch
Dear Antonio,

I've got it already but it still have problem with other download. The error message is below.

Fatal: Unable to open file 'UUID.LIB'

Regards,
Dutch

Re: Where can I download BCC582?

Posted: Sat Mar 10, 2012 5:23 pm
by Rick Lipkin
Dutch

Make sure you have these two files in your bcc582\lib folder

ILink32.cfg

Code: Select all

-L"C:\Borland\BCC582\lib;C:\Borland\BCC582\lib\psdk"
 
TLink32.cfg

Code: Select all

/LC:\Borland\BCC582\lib
 
Feel free to modify the above paths to your Borland install. Also .. look at \samples buildx.bat .. there are some new Borland libs you will need to link in.

Rick Lipkin

Re: Where can I download BCC582?

Posted: Mon Mar 12, 2012 4:48 am
by dutch
Dear Rick,

I try all as the picture. It's still got an error.
Image

Uploaded with ImageShack.us
Rick Lipkin wrote:Dutch

Make sure you have these two files in your bcc582\lib folder

ILink32.cfg

Code: Select all

-L"C:\Borland\BCC582\lib;C:\Borland\BCC582\lib\psdk"
 
TLink32.cfg

Code: Select all

/LC:\Borland\BCC582\lib
 
Feel free to modify the above paths to your Borland install. Also .. look at \samples buildx.bat .. there are some new Borland libs you will need to link in.

Rick Lipkin

Re: Where can I download BCC582?

Posted: Mon Mar 12, 2012 8:28 am
by hua
Dutch,
Did you remember to update your link files to include uuid.lib too?

Re: Where can I download BCC582?

Posted: Mon Mar 12, 2012 8:37 am
by dutch
Dear Hua,

set bcdir=d:\bcc582
echo %bcdir%\lib\uuid.lib + >> b32.bc

Regards,
Dutch

Re: Where can I download BCC582?

Posted: Mon Mar 12, 2012 8:45 am
by hua
The path is wrong Dutch. It's not "lib\uuid.lib", it should be "lib\psdk\uuid.lib".

You could always use the batch files in fwh\samples as a reference

Re: Where can I download BCC582?

Posted: Mon Mar 12, 2012 8:57 am
by dutch
Dear Hua,

I use the buildx.bat from FWH as below
@ECHO OFF
CLS
ECHO ฺฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฟ
ECHO ณ FiveWin for xHarbour 12.02 - Feb. 2012          xHarbour development power ณ
ECHO ณ (c) FiveTech, 1993-2012     for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7 ณ
ECHO ภฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤฤู
ECHO  ฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿฿

if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST

ECHO Compiling...

if "%FWDIR%" == "" set FWDIR=D:\FWH1202
if "%XHDIR%" == "" set XHDIR=D:\xharbour_new
rem if "%2" == "/b" set GT=gtwin
rem if not "%2" == "/b" set GT=gtgui
set GT=gtgui

set hdir=%XHDIR%
set hdirl=%hdir%\lib
set bcdir=d:\bcc582
set fwh=%FWDIR%

%hdir%\bin\harbour %1 /n /i%fwh%\include;%hdir%\include /w /p %2 %3 > comp.log
IF ERRORLEVEL 1 GOTO COMPILEERRORS
@type comp.log

echo -O2 -e%1.exe -I%hdir%\include -I%bcdir%\include %1.c > b32.bc
%bcdir%\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE

IF EXIST %1.rc %bcdir%\bin\brc32 -r -I%bcdir%\include %1

echo %bcdir%\lib\c0w32.obj + > b32.bc
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo %fwh%\lib\Fivehx.lib %fwh%\lib\FiveHC.lib + >> b32.bc
echo %hdirl%\rtl.lib + >> b32.bc
echo %hdirl%\vm.lib + >> b32.bc
echo %hdirl%\%GT%.lib + >> b32.bc
echo %hdirl%\lang.lib + >> b32.bc
echo %hdirl%\macro.lib + >> b32.bc
echo %hdirl%\rdd.lib + >> b32.bc
echo %hdirl%\dbfntx.lib + >> b32.bc
echo %hdirl%\dbfcdx.lib + >> b32.bc
echo %hdirl%\dbffpt.lib + >> b32.bc
echo %hdirl%\hbsix.lib + >> b32.bc
echo %hdirl%\debug.lib + >> b32.bc
echo %hdirl%\common.lib + >> b32.bc
echo %hdirl%\pp.lib + >> b32.bc
echo %hdirl%\pcrepos.lib + >> b32.bc
echo %hdirl%\ct.lib + >> b32.bc
echo %hdirl%\zlib.lib + >> b32.bc
echo %hdirl%\hbzip.lib + >> b32.bc
echo %hdirl%\png.lib + >> b32.bc

rem Uncomment these two lines to use Advantage RDD
rem echo %hdir%\lib\rddads.lib + >> b32.bc
rem echo %hdir%\lib\Ace32.lib + >> b32.bc

echo %bcdir%\lib\cw32.lib + >> b32.bc
echo %bcdir%\lib\import32.lib + >> b32.bc
echo %bcdir%\lib\uuid.lib + >> b32.bc
echo %bcdir%\lib\psdk\odbc32.lib + >> b32.bc
echo %bcdir%\lib\psdk\rasapi32.lib + >> b32.bc
echo %bcdir%\lib\psdk\nddeapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\msimg32.lib + >> b32.bc
echo %bcdir%\lib\psdk\psapi.lib + >> b32.bc
echo %bcdir%\lib\psdk\gdiplus.lib + >> b32.bc
echo %bcdir%\lib\psdk\iphlpapi.lib, >> b32.bc

IF EXIST %1.res echo %1.res >> b32.bc

rem uncomment this line to use the debugger and comment the following one
if %GT% == gtwin %bcdir%\bin\ilink32 -Gn -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
if %GT% == gtgui %bcdir%\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
%1
GOTO EXIT
ECHO

rem delete temporary files
@del %1.c

:COMPILEERRORS
@type comp.log
ECHO * Compile errors *
GOTO EXIT

:LINKERROR
ECHO * Linking errors *
GOTO EXIT

:SINTAX
ECHO    SYNTAX: Build [Program]     {-- No especifiques la extensiขn PRG
ECHO                                {-- Don't specify .PRG extension
GOTO EXIT

:NOEXIST
ECHO The specified PRG %1 does not exist

:EXIT
hua wrote:The path is wrong Dutch. It's not "lib\uuid.lib", it should be "lib\psdk\uuid.lib".

You could always use the batch files in fwh\samples as a reference

Re: Where can I download BCC582?

Posted: Mon Mar 12, 2012 9:05 am
by hua
Sorry for my mistake Dutch :oops: Just checked my BCC dir and uuid.lib is indeed in \lib not \lib\psdk.

I have no idea anymore, sorry.

Re: Where can I download BCC582?

Posted: Mon Mar 12, 2012 8:32 pm
by Enrico Maria Giordano
I never used uuid.lib. Why do you need of uuid.lib? Try to just remove it from the compile batch.

EMG

Re: Where can I download BCC582?

Posted: Mon Mar 12, 2012 9:03 pm
by Antonio Linares
Enrico,

http://en.wikipedia.org/wiki/Globally_unique_identifier
Microsoft Windows uses GUIDs internally to identify the classes and interfaces of COM objects
Dutch,

Check your libs path. As a temporary solution please copy uuid.lib to the folder where your app is built.

Re: Where can I download BCC582?

Posted: Mon Mar 12, 2012 9:31 pm
by Enrico Maria Giordano
As I said, I never used uuid.lib and never had unresolved externals. Why?

EMG

Re: Where can I download BCC582?

Posted: Tue Mar 13, 2012 12:50 am
by Antonio Linares
Enrico,

Borland links it automatically if it is available, if not, it errors.

Re: Where can I download BCC582?

Posted: Tue Mar 13, 2012 2:26 am
by dutch
Dear Antonio,

The error has occur from this line

if %GT% == gtgui %bcdir%\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
Antonio Linares wrote:Enrico,

Borland links it automatically if it is available, if not, it errors.