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) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour