; TOFIX: It doesn't work. Maybe more eyeballs will spot the
            problem more easily.

What does it mean "It doesn't work" :-)
It cannot be linked or it's runtime problem?
What errors do you have?

You're too quick I was just preparing the details :)
(shortly: it doesn't link)

So here they are (first some new BCC warnings):
---
Warning W8080 source\vm\arrays.c 1473: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\asort.c 257: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\classes.c 4849: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\cmdarg.c 516: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\codebloc.c 310: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\debug.c 272: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\dynlibhb.c 194: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\dynsym.c 681: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\eval.c 572: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\evalhb.c 88: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\extend.c 1304: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\fm.c 1046: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\garbage.c 846: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\hashes.c 920: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\hashfunc.c 746: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\itemapi.c 2592: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\macro.c 1667: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\memvars.c 1635: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\pcount.c 64: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\proc.c 281: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\pvalue.c 72: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\runner.c 799: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\set.c 2504: 'hb_stack_ptr_from_tls()' is declared but never used Warning W8080 source\vm\thread.c 1822: 'hb_stack_ptr_from_tls()' is declared but never used
---

And the linking problem (with BCC, MSVC looked pretty similar. Some lines stripped to fit in mail size limit):
---
bin\b32\harbour.exe -n -iinclude -q0 -w3 -es2 -gc3 -km -l -oobj\dll \b32\ utils\hbrun\hbrun.prg bcc32.exe -c -q -d -Q -w -w-sig- -tWM -4 -O2 -OS -Ov -Oi -Oc - Iinclude -Iobj\b32 -DUNICODE -v -y -oobj\dll\b32\hbrun.obj obj\dll \b32\hbrun.c
obj\dll\b32\hbrun.c:
        ilink32.exe -Gn -C -ap -Tpe -Llib\b32 -Lbin\b32  @MAKE0036.@@@
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_hb_compExprCBVarDel' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprDescription' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceIIF' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprListLen' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprParamListLen' referenced from C:\WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceAT' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceCHR' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceLEN' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceEMPTY' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceASC' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceINT' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceSTOD' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceDTOS' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceCTOD' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceMIN' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceMAX' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceUPPER' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprAsLongNum' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceBitFunc' referenced from C:\WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprParamListCheck' referenced from C:\WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceOr' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceAnd' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceEQ' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceLT' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceGT' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceLE' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceGE' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceNE' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceIN' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReducePlus' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceMinus' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceMult' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceDiv' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceMod' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReducePower' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprDelOperator' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprReduceNegate' referenced from C:\WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprNewVar' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprNewPlus' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprSetOperand' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprNewString' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprNewMacro' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprIsInteger' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_compExprListStrip' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|exproptb Error: Unresolved external '_hb_pp_new' referenced from C:\WORK\HARBOUR \HARBOUR\LIB\B32\HBCPLR.LIB|hbcomp Error: Unresolved external '_hb_hashTableFind' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|hbident Error: Unresolved external '_hb_hashTableAdd' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|hbident Error: Unresolved external '_hb_hashTableCreate' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|hbident Error: Unresolved external '_hb_hashTableKill' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|hbident Error: Unresolved external '_hb_pp_tokenToString' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|complex Error: Unresolved external '_hb_pp_tokenBlockString' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|complex Error: Unresolved external '_hb_pp_tokenUpper' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|complex Error: Unresolved external '_hb_pp_tokenNextExp' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|complex Error: Unresolved external '_hb_pp_tokenGet' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|complex Error: Unresolved external '_hb_pp_free' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|hbcomp Error: Unresolved external '_hb_verHarbour' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|hbusage Error: Unresolved external '_hb_pp_addSearchPath' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|cmdcheck Error: Unresolved external '_hb_pp_addDefine' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|cmdcheck Error: Unresolved external '_hb_pp_delDefine' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|cmdcheck Error: Unresolved external '_hb_getenv' referenced from C:\WORK\HARBOUR \HARBOUR\LIB\B32\HBCPLR.LIB|cmdcheck Error: Unresolved external '_hb_verBuildInfo' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|hbmain Error: Unresolved external '_hb_pp_line' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|ppcomp Error: Unresolved external '_hb_pp_fileName' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|ppcomp Error: Unresolved external '_hb_pp_init' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|ppcomp Error: Unresolved external '_hb_pp_setStdRules' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|ppcomp Error: Unresolved external '_hb_pp_readRules' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|ppcomp Error: Unresolved external '_hb_pp_initDynDefines' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|ppcomp Error: Unresolved external '_hb_pp_setStdBase' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|ppcomp Error: Unresolved external '_hb_compReservedName' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|harboury Error: Unresolved external '_hb_compExprNewDate' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|harboury Error: Unresolved external '_hb_compExprNewLong' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|harboury Error: Unresolved external '_hb_compExprNewDouble' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|harboury Error: Unresolved external '_hb_compExprNewLogical' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|harboury Error: Unresolved external '_hb_compExprNewSelf' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|harboury Error: Unresolved external '_hb_compExprNewArray' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|harboury
...
Error: Unresolved external '_hb_compExprNewRTVar' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|harboury Error: Unresolved external '_hb_compExprAsStringLen' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|harboury Error: Unresolved external '_hb_compExprIsLong' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|harboury Error: Unresolved external '_hb_compExprIsString' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|harboury Error: Unresolved external '_hb_compExprNewFunRef' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|harboury Error: Unresolved external '_hb_compExprAsSymbol' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|harboury Error: Unresolved external '_hb_pp_eof' referenced from C:\WORK\HARBOUR \HARBOUR\LIB\B32\HBCPLR.LIB|harboury Error: Unresolved external '_hb_compEncodeString' referenced from C: \WORK\HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|hbmain Error: Unresolved external '_hb_fopen' referenced from C:\WORK\HARBOUR \HARBOUR\LIB\B32\HBCPLR.LIB|hbmain Error: Unresolved external '_hb_verCompiler' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|genc Error: Unresolved external '_hb_pp_inBuffer' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|hbmain Error: Unresolved external '_hb_pp_lineTot' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|hbmain Error: Unresolved external '_hb_pp_reset' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|hbmain Error: Unresolved external '_hb_pp_inFile' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|hbmain Error: Unresolved external '_hb_pp_traceFile' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|hbmain Error: Unresolved external '_hb_pp_outFile' referenced from C:\WORK \HARBOUR\HARBOUR\LIB\B32\HBCPLR.LIB|hbmain

** error 2 ** deleting bin\b32\hbrun-dll.exe
---

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to