when I compile same program i get error / I used FWH 9.04 na. xHarbour.com v.42 with xCC Pelles ISO C Compiler, Version 2.71.0 /
sample.prg
#include "FiveWin.ch"
static oWnd
//----------------------------------------------------------------------------//
function Main()
local lValue := .f., oChk
DEFINE WINDOW oWnd TITLE "Testing CheckBox ON CHANGE clause"
@ 3, 3 CHECKBOX oChk VAR lValue PROMPT "&ClickMe" SIZE 100, 20 OF oWnd ;
ON CHANGE IIF( oChk:lChecked = .T., ;
oChk:SetText( "Check is on" ), ;
oChk:SetText( "Check is off" ) ) COLOR "W+/B"
ACTIVATE WINDOW oWnd
return nil
error !!!!!!!!!!!!!!!!!!!!!
Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"D:\fwh\lib" -LIBPATH:"D:\xHB.43\lib" -LIBPATH:"D:\xHB.43\c_lib" -LIBPATH:"D:\xHB.43\c_lib\win" "t.obj" "FiveHCM.lib" "FiveHMX.lib" "OptG.lib" "xhb.lib" "dbf.lib" "nsx.lib" "ntx.lib" "cdx.lib" "rmdbfcdx.lib" "ct3comm.lib" crt.lib kernel32.lib user32.lib winspool.lib ole32.lib oleaut32.lib odbc32.lib odbccp32.lib uuid.lib wsock32.lib ws2_32.lib wininet.lib advapi32.lib shlwapi.lib msimg32.lib mpr.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"t.exe"<<<
Creating object: t.EXP
Creating library: t.LIB
xLINK: error: Unresolved external symbol '??2@YAPAXI@Z referenced from Fivehcm.lib(ACTX.obj)'.
xLINK: error: Unresolved external symbol '??3@YAXPAX@Z referenced from Fivehcm.lib(ACTX.obj)'.
xLINK: fatal error: 2 unresolved external(s).
Type: C >>>Couldn't build: t.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>> 1411<<<