I'm converting an application from xHarbour to Harbour (following advice on this forum ), I get warnings when compiling bpaint.c and the library is created. However, the application fails to link. The following warnings occur.
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
source\function\BPAINT.C:
Warning W8065 source\function\BPAINT.C 2337: Call to function 'hb_parnl' with no prototype in function HB_FUNC
Warning W8065 source\function\BPAINT.C 2338: Call to function 'hb_parnl' with no prototype in function HB_FUNC
Warning W8065 source\function\BPAINT.C 2345: Call to function 'hb_retl' with no prototype in function HB_FUNC
Warning W8070 source\function\BPAINT.C 2346: Function should return a value in function HB_FUNC
Warning W8057 source\function\BPAINT.C 2346: Parameter 'ISALPHABITMAP' is never used in function HB_FUNC
Although the library is built, I tried building the application and I get this:
Error: Unresolved external '_HB_FUN_ISALPHABITMAP' referenced from C:\TSBUTTON7\LIB\SBUTTONH.LIB|TSBUtton
Error: Unresolved external '_HB_FUN_SBTNPAINT' referenced from C:\TSBUTTON7\LIB\SBUTTONH.LIB|TSBUtton
Error: Unresolved external '_HB_FUN_SBARNEW' referenced from C:\TSBUTTON7\LIB\SBUTTONH.LIB|TSBar
Error: Unresolved external '_HB_FUN_MAKESEPARATOR' referenced from C:\TSBUTTON7\LIB\SBUTTONH.LIB|TSBar
I am looking for a script to build sbuttonh.lib with harbour, or has anyone got a copy of the library? I have no problems with the xHarbour version.
I'm using TSButton7.
TIA
David