Hi Marek,
I am having the problems with the current build (note that none of
these issues occur with the Beta3 build) - I am using MSVC 6):
Exaclty which version ? With SP6 included ? My version of cl.exe reports :
--------
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
--------
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
1. Needed to include "#IFNDEF" statements at the bottom of
HBSETUP.CH since these vars seem to already be defined somewhere
else. Note that Beta3 included these "#IFNDEF" statements but the
current build does not.
Answered by Viktor.
As I said to Viktor, I am still not clear on what I need to do.
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.
Fixed by including HBDEFS.H in HBDATE.H
4. I need to include "/NODEFAULTLIB:libcmt.lib" to get around link
errors - I'm not sure what the implications of this are.
Are you talking about compiling Harbour itself, or about compiling
your application ? In the later case I guess you did not specify
-MT option for compiling your application. Despite the fact that
currently Harbour is not yet fully MT safe, it is compiled with
MT C runtime libraries using MSVC.
I am talking about compiling my PRG source.
I tried including -MT and the errors increased.
5. I can get my app to build, but get this warning:
LINK : warning LNK4089: all references to "ADVAPI32.dll" discarded
by /OPT:REF
Seems you do not use functions from ADVAPI32 library but you
specified /OPT:REF linker option and ADVAPI32 library in your
link command. Try removing ADVAPI32 from your link command.
It must be included as I am referencing functions in it. I have no
idea what the "/OPT:REF" is or where it is defined.
6. When I run my Windows app, the app seems to launch ok but a DOS
box appears in the background.
Looks like you did not specify GTGUI as your HB_GT_LIB (or HB_GT_DEFAULT,
if I remember correctly). Przemek, Viktor or Enrico knows the details I
guess :).
I have no idea what you are referring to - I do include "#define
HARBOUR_MAIN_WIN" in HBSETUP.H since I use WINDOCK to build a Windows EXE.
Regards,
Randy
P.S. As I mentioned before, none of these issues occurred with the Beta3 build.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour