Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

C++ Version()

6 views
Skip to first unread message

Rick Lipkin

unread,
Jul 16, 2007, 9:56:32 PM7/16/07
to
To All

Is there an xHarbour function to determine the C++ compiler version that the
application was compiled with ?? e.g. Borland 5.5, MSVC 8, Borland 5.82

Thanks
Rick Lipkin
SC Dept of Health, USA


Saulius

unread,
Jul 17, 2007, 2:25:43 AM7/17/07
to
> Is there an xHarbour function to determine the C++ compiler version that the application was compiled with ?? e.g. Borland 5.5,
> MSVC 8, Borland 5.82

hb_compiler() from prg and
hb_verCompiler() from C

Saulius


Julio Cesar Cantillo Molina

unread,
Jul 16, 2007, 11:33:31 PM7/16/07
to
HB_Compiler()

"Rick Lipkin" <lipkin...@yahoo.com> escribió en el mensaje
news:469c22d4$0$1339$834e...@reader.greatnowhere.com...

Enrico Maria Giordano

unread,
Jul 17, 2007, 6:31:22 AM7/17/07
to

"Rick Lipkin" <lipkin...@yahoo.com> ha scritto nel messaggio
news:469c22d4$0$1339$834e...@reader.greatnowhere.com...

> To All
>
> Is there an xHarbour function to determine the C++ compiler version that
> the application was compiled with ?? e.g. Borland 5.5, MSVC 8, Borland
> 5.82

Out of curiosity: why do you need that?

EMG

--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page: http://www.emagsoftware.it/emgmusic


Rick Lipkin

unread,
Jul 17, 2007, 9:08:33 AM7/17/07
to
Enrico

I manage many applications for our Health Agency .. over 5000 people and
over 150 servers spanning the entire state. At any one given time there may
be several versions of the same program ( clients ) on local lans .. it
would be nice to know ( help and about ) what the .exe build date is,
xHarbour version, FWH version and C++ compiler version used... for
historical and trouble-shooting purposes.

Rick Lipkin
SC Dept of Health, USA


"Enrico Maria Giordano" <e.m.gi...@emagsoftware.it> wrote in message
news:469c9a80$0$4797$4faf...@reader4.news.tin.it...

Rick Lipkin

unread,
Jul 17, 2007, 9:42:26 AM7/17/07
to
Julio

I am using Borland Turbo c++ 5.82 and when I plug in the hb_compiler() I get
Borland C++ 5.51. I know I am using 5.82 because of the compiler output log
specifically shows Borland C++ 5.82

Rick Lipkin

"Julio Cesar Cantillo Molina" <julioc...@sperceptivas.com> wrote in
message news:469c9912$0$1341$834e...@reader.greatnowhere.com...

Julio Cesar Cantillo Molina

unread,
Jul 17, 2007, 11:21:44 AM7/17/07
to
Which one did you use to compile xHarbour ??

"Rick Lipkin" <lipkin...@yahoo.com> escribió en el mensaje

news:469cc7e4$0$1348$834e...@reader.greatnowhere.com...

Enrico Maria Giordano

unread,
Jul 17, 2007, 12:39:55 PM7/17/07
to

"Rick Lipkin" <lipkin...@yahoo.com> ha scritto nel messaggio
news:469cbfb1$0$1348$834e...@reader.greatnowhere.com...

> Enrico
>
> I manage many applications for our Health Agency .. over 5000 people and
> over 150 servers spanning the entire state. At any one given time there
> may be several versions of the same program ( clients ) on local lans ..
> it would be nice to know ( help and about ) what the .exe build date is,
> xHarbour version, FWH version and C++ compiler version used... for
> historical and trouble-shooting purposes.

Ah, ok. Thank you.

cig...@hotmail.com

unread,
Jul 17, 2007, 8:35:43 PM7/17/07
to
Hi Rick Lipkin

>
> Is there an xHarbour function to determine the C++ compiler version that the
> application was compiled with ?? e.g. Borland 5.5, MSVC 8, Borland 5.82
>

How do you compile with MSVC8? It run in .NET?

Thanks
Sérgio

Rick Lipkin

unread,
Jul 17, 2007, 9:04:48 PM7/17/07
to
Sergio

MSVC 8 is just a C++ compiler .. no different than Borland or Pelles .. .Net
is a WinAPI that uses Microsoft's client framework as it's run-time library.

Msvc can compile an xHarbour program quite nicely no different than it does
a C++ project in Visual Studio.

The compiler is just the mechanism to ( for lack of a more simplistic term )
as a way of creating an object from your code and then using a linker to
create the executable. Dot Net is just a WinAPI

Just my take on the subject.

Rick Lipkin

<cig...@hotmail.com> wrote in message
news:1184718943.7...@m37g2000prh.googlegroups.com...

0 new messages