Try with '-ldflag=-force' instead of '-hblnk /force'. -hblnk does something completely different. As for why .fmg can't be found I don't know current MiniGUI setup and dir layout enough to comment on it.
Brgds, Viktor On 2009 Dec 11, at 15:05, Rossine wrote: > > Hello, > > I'm testing the MiniGUI with MSVC 2008 Express, and can generate the exe > file I need to pass the parameter "-hblnk / FORCE". But when I put it, the > parameter "/ I." does not work, then it goes to occur this error: > > main.prg(23) Error F0029 Can't open #include file 'Principal.fmg' > > This is a piece of code: > > [CODE] > /* > * Contactos > * (C) 2003 Roberto Lopez <harbourmini...@gmail.com> > * > * (C) 2005 Designed by MigSoft with MiniGUI IDE :: Roberto Lopez :: > */ > > #include "minigui.ch" > > Static Nuevo := .F. > > Function Main > > set delete on > set browsesync on > set century on > set date french > > Request DBFCDX , DBFFPT > Rddsetdefault( "DBFCDX" ) > > Set Default Icon To "Tutor" > Load Window Principal && Here occurs the error > Activate Window Principal > > Return Nil > ... > [ENDCODE] > > I use this command: > > hbmk2 -trace -info -n -gtgui -ic:\minigui\include %1 > c:\minigui\batch\minigui.hbc c:\minigui\batch\minigui.hbm /I. -hblnk /FORCE > %2 %3 %4 %5 > comp.log > > How do I fix this? > > Best Regards, > > Rossine. > > -- > View this message in context: > http://old.nabble.com/Erro-with---hblnk--FORCE-tp26744825p26744825.html > Sent from the Harbour - Dev mailing list archive at Nabble.com. > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour