[Harbour] Re: Trap / run routine when MS Windows red X box closed?

Przemysław Czerpak druzus at acn.waw.pl
Mon Mar 1 22:11:14 EST 2010


On Mon, 01 Mar 2010, Pritpal Bedi wrote:

Hi,

> ..\harbour-dev\bin\hbmk2 -gtwvt -strip -ustd.ch -kc -lhbct -lhbtpathy -lhbnf
> -inc  -o..\latest\bmd.exe bm.hbp
> And include somewhere in sources 
> REQUEST HB_GT_WVT_DEFAULT

It's redundant. -gtwvt makes the above.
If you use -gt* switches in hbmk2 then it makes for the 1-st one:
   REQUEST HB_GT_*_DEFAULT
and for the next ones:
   REQUEST HB_GT_*

so you do not have to use any 'REQUEST HB_GT_*[_DEFAULT] in your
PRG code.

best regards,
Przemek


More information about the Harbour mailing list