Hi Przemek,
But your source code (or one of the header files you are using) have:
#include "hbsetup.ch"
remove this line.
It is not in my application source or headers nor in Windock - The
only references I can find to this file are in Harbour.
> >> -----------------------
> >> 6. When I run my Windows app, the app seems to launch ok but a DOS
> >> box appears in the background.
> >The default build time GT (GTWIN) is activated. If you do not
> >want to use it add to your code:
> > ANNOUNCE HB_GTSYS
> > REQUEST HB_GT_GUI_DEFAULT // for TONE() and ClipBoard functions
>
> I am building a Windows EXE - I must include HARBOUR_MAIN_WIN in IN
> HBSETUP.H for use with WINDOCK.
> How to I enable Windows GUI without the DOS box appearing?
I'll repeat. Add tou your source code:
ANNOUNCE HB_GTSYS
REQUEST HB_GT_GUI_DEFAULT // for TONE() and ClipBoard functions
read doc/gtapi.txt from line 104 for details.
Ok, this worked - I had to:
- Include what you mentioned above
- Remove gtwin.lib
- Add gtgui.lib
Is that correct?
TIA.
Regards,
Randy.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour