On Mon, 29 Sep 2008, Pritpal Bedi wrote: Hi Pritpal,
> I am receiving this error when linking in MT mode: > [1]:iLink32.Exe -Gn -aa -Tpe -m @Ar32.bcl > Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland > Error: Unresolved external '_hb_stack' referenced from > C:\HARBOUR\LIB\XHB.LIB|cstructc This code uses stack macros so it's strictly depend on HVM compilation switches. It doesn't matter it's MT or ST code. You will have the same problem if you compile HVM without stack macros and XHB library with stack stack macros. I'll add workaround for it in a while. > SET HB_BUILD_ST= > SET C_USR=-DHB_FM_STATISTICS_OFF -DHB_FM_DL_ALLOC -D__MT__ -DHB_VM_MT > -DHB_NO_PROFILER > SET L_USR=cw32mt.lib PleaSE remove all of them and left _ONLY_: SET C_USR=-DHB_FM_STATISTICS_OFF This is the only one setting which effectively works. All others can only break sth or are ignored due to typos. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour