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 :)
Maurilio.
Przemysław Czerpak wrote:
> On Wed, 10 Mar 2010, Maurilio Longo wrote:
>
> Hi,
>
>> No, it was not working with my .cmd file, either adding -gtnul to hbmk2 or
>> adding -lgtgui to list of .dll it still asked for gtwin with an unresolved
>> external.
>
> Yes and it should. Please look at harbour/doc/gtapi.txt. The second part
> of this file is copy of may message I sent to this list few years ago.
> Please read about:
> ANNOUNCE HB_GTSYS
> and how it works.
>
>> But, now that hbmk2 with the correct order of parameters works I can simply
>> call it like this:
>> hbmk2 -strip -st -gtgui -hbdyn -hbnolib- my.prg my_c.c
>> and I get my.dll without errors.
>> Now I just have to see if it works :)
>
> I think that you may want to add code to initialize HVM.
>
> best regards,
> Przemek
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
--
__________
| | | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour