Page 1 of 1

BCC compiler version

PostPosted: Sat Oct 03, 2015 2:25 pm
by bpd2000
Hi,
How to know application build by which BCC compiler

Re: BCC compiler version

PostPosted: Sun Oct 04, 2015 6:50 am
by Antonio Linares
You could search for a certain pattern (from a BCC library) inside the EXE

Re: BCC compiler version

PostPosted: Sun Oct 04, 2015 11:40 pm
by Rick Lipkin
? hb_compiler() // Borland 5.82

Returns the compiler used to create the (x)Harbour binaries .. You need to use ( match ) the (x)harbour compiler for your BCC Library. In otherwords for hb_compiler to return the correct BCC you will need to use the (x)harbour build for that compiler.

You can use (x)harbour for BCC55 and the Borland libs for BCC582 the call to hb_compiler will return Borland 5.5.. hb_Compiler will always return the compiler used to create the (x)harbour binaries regardless of the real Borland BCC

Unfortunately, hb_compiler() is the only function I know to return the BCC version.

Rick Lipkin

Re: BCC compiler version

PostPosted: Mon Oct 05, 2015 4:17 am
by bpd2000
Thank you Mr. Antonio and Mr. Rick Lipkin