BCC compiler version

Post Reply
User avatar
bpd2000
Posts: 153
Joined: Tue Aug 05, 2014 9:48 am
Location: India

BCC compiler version

Post by bpd2000 »

Hi,
How to know application build by which BCC compiler
Regards, Greetings

Try FWH. You will enjoy it's simplicity and power.!
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: BCC compiler version

Post by Antonio Linares »

You could search for a certain pattern (from a BCC library) inside the EXE
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: BCC compiler version

Post 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
User avatar
bpd2000
Posts: 153
Joined: Tue Aug 05, 2014 9:48 am
Location: India

Re: BCC compiler version

Post by bpd2000 »

Thank you Mr. Antonio and Mr. Rick Lipkin
Regards, Greetings

Try FWH. You will enjoy it's simplicity and power.!
Post Reply