In continuation...
Pritpal Bedi wrote: > > > Przemysław Czerpak wrote: >> >> It's completely unimportant which code exploited the problem in >> visible way. Important is only that you are mixing files compiled >> for ST and MT mode (with and without -tWM flag) during linking >> final application and this is the source of your problem. >> All what you have to do is eliminating it. >> > > This is probably the _REAL_ cause. > > I have checked, if not otherwise nullified, even if -st flag is > sent to hbMK2, it always compiles C code as : > > bcc32.exe -c -q -tWM -d -6 -O2 -OS -Ov -Oi -Oc -w -Q -w-sig- > -nE:\dev_hbmk\xharbour\obj\cacherdd -IC:\xharbour\include > -ID:\Projects\CacheRDD\Include > E:\dev_hbmk\xharbour\obj\cacherdd\CacheRDD.c > > and in link script "cw32mt.lib" is visible. > > So I need to wait till Viktor's response. > > Thank you for pinning down the issue. > > xMate compiles the same source as: [1]:Bcc32.Exe -D__xDEVELOPMENT__ -D__xCACHE2009__ -D -d -5 -6 -a8 -c -O2 -tW -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -DHB_OS_WIN_32 -IInclude -IC:\Dev\BCC55\Include;c:\xHarbour\Include -nObj Obj\CacheRDD.c Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland obj\cacherdd.c: Here it is only -tW instead of -tWM. ----- enjoy hbIDEing... Pritpal Bedi http://hbide.vouch.info/ -- View this message in context: http://harbour-devel.1590103.n2.nabble.com/hbMK2-xHarbour-Oct-2007-Unresolved-External-tp5033192p5042646.html Sent from the harbour-devel 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