Hi folks,
2. I am still using ADS/ALS v6.22 and therefore the new RDDADS will
not work for me - I must use the RDD_ADS from Beta3 instead -
Perhaps it should be included in the new build for developers not
yet using ADS v8.
Not a good idea. Either current version should be enhanced to compile
with older ADS (if possible), or you need to compile your rdd_ads
localy.
The later seems resonable to me.
It's possible, it would just need some more coordinated
way to pass down the actual ADS package version to the
contrib sources, so that contrib lib features could be
turned on/off based on that info. Or some other fixes
around this idea (maybe just the version guards are
not precisely setup in the source).
3. I have my own version of OLE2.C - I had to remove the following
line from HBDATE.H...
extern HB_EXPORT HB_ULONG hb_dateMilliSeconds( void );
...otherwise I get these errors when compiling OLE2.C:
cl -TP -W3 -nologo -I..\..\include -DWIN32 -c -Fo..\..\obj\vc
\ole2.obj ole2.c
ole2.c
..\..\include\HBdate.h(61) : error C2146: syntax error : missing
';' before identifier 'hb_dateMilliSeconds'
..\..\include\HBdate.h(61) : fatal error C1004: unexpected end of
file found
Quite strange. Your log fragment shows that you compile your ole2.c
in CPP mode. AFAIK ole2.c from Harbour does not compile in CPP mode
and it has no chances to compile in its current form. But I may be
wrong here.
You might make an experiment and change line 60 of hbdate.h from
extern HB_EXPORT double hb_dateSeconds( void );
to
extern double HB_EXPORT hb_dateSeconds( void );
or
HB_EXPORT extern double hb_dateSeconds( void );
I seem to recall problems with a placement of HB_EXPORT in MSVC
but I don't remember details.
hbdate.h uses HB_ULONG, and the only included header is "hbsetup.h"
which won't declare any Harbour types, so that might be the problem.
I didn't do any tests though.
Randy, could you try adding #include "hbdef.h" to hbdate.h to see
if it fixes anything?
Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour