by Rick Lipkin » Sun Oct 04, 2015 11:40 pm
? 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