> Przemyslaw,
> 
> -gui
> 
> on hbmk2 command line is not enough, I've found the answer in an old message
> of Viktor, I had to add to my .prg code
> 
> procedure HB_GT_SYS()
>       REQUEST HB_GT_GUI_DEFAULT
> return
> 
> This did the trick :)

-gui doesn't set any GTs, only executable build mode.
You should use -gtgui (which will also set -gui automatically).

BTW, -gtnul should also work for normal cases.

The problem in your case is that the method hbmk2 
uses (inherited from hbmk script) to set default GT, 
is an internal VM call executed on app startup. In 
context of .dlls with full VM, such "app startup" 
has no meaning. In such case a different stub would 
be needed, something like Przemek posted. I can 
add support for such thing to hbmk2, but first we 
should clear up any issues with it.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to