ERROR TO COMPILE A SAMPLE TEST ON WINDOWS SEVEN resolved

ERROR TO COMPILE A SAMPLE TEST ON WINDOWS SEVEN resolved

Postby MdaSolution » Sun Sep 25, 2011 9:57 am

THE TEST SAMPLE



Code: Select all  Expand view
#include "FWCE.ch"

//----------------------------------------------------------------------------//

Function Main()

   Local oWnd, oLbx, ;
         aHBitMaps:= { LoadBitmap( GetResources(), "Level1" ), ;
                       LoadBitmap( GetResources(), "Level3" ), ;
                       LoadBitmap( GetResources(), "Level2" ), ;
                       LoadBitmap( GetResources(), "Level4" ), ;
                       LoadBitmap( GetResources(), "Level5" ) }

   USE ( CurDir() + "\Clientes" ) EXCLUSIVE NEW
   INDEX ON Clientes->Nombre TO CliName
   SET INDEX TO CliName
   GO TOP

   DEFINE WINDOW oWnd TITLE "Clients Management"

   @  0,  0 LISTBOX oLbx ;
            FIELDS aHBitmaps[ Max( 1, Clientes->Nivel ) ], ;
                              Clientes->Nombre, AllTrim( Clientes->Direccion ), ;
                              Clientes->Telefono, ;
                              Str( Clientes->Edad, 3 ) ;
            HEADERS "L", "Name", "Address", "Phone", "Age" ;
            FIELDSIZES 16, 112, 112, 58, 24 ;
            SIZE 234, 263 PIXEL OF oWnd

   // Lets use different row colors
   oLbx:nClrText      = { || SelColor( Clientes->Nivel ) }
   oLbx:nClrForeFocus = { || SelColor( Clientes->Nivel ) }
   // Try different line styles !!!
   oLbx:nLineStyle = 1
   oLbx:aJustify = { .F., .F., .F., .F., .T. }

   ACTIVATE WINDOW oWnd ON CLICK MsgInfo( "Click!" )





   DbCloseAll()

Return Nil

//----------------------------------------------------------------------------//

Static Function SelColor( nNivel )

   Local nColor := CLR_BLACK

   Do Case
      Case nNivel == 1
           nColor = CLR_HRED
      Case nNivel == 2
           nColor = CLR_HGREEN
      Case nNivel == 3
           nColor = CLR_HBLUE
   EndCase

Return nColor



i' M USING
FWPPC February 2010
HARBOUR CE 1.2.1



THE ERROR

Progetto: test1, Ambiente: FWPPC:
[1]:Link.Exe @test1.vcl /nologo /ARMPADCODE:NO /SUBSYSTEM:WINDOWSCE,4.20 /MACHINE:ARM
fiveCE.lib(HARBOUR.obj) : error LNK2001: unresolved external symbol HB_FUN_TOLEAUTO
fiveCE.lib(HARBOUR.obj) : error LNK2001: unresolved external symbol HB_FUN_FREELIBRARY
fiveCE.lib(HARBOUR.obj) : error LNK2001: unresolved external symbol HB_FUN_LOADLIBRARY
hbrtl.lib(gtsys.obj) : error LNK2019: unresolved external symbol HB_FUN_HB_GT_WVT referenced in function "void __cdecl hb_gt_ForceLink_HB_GT_WVT(void)" (?hb_gt_ForceLink_HB_GT_WVT@@YAXXZ)
C:\Work\pocketpc\test_asus\test1.Exe : fatal error LNK1120: 4 unresolved externals




ANY HELP PLS
Last edited by MdaSolution on Thu Sep 29, 2011 2:56 pm, edited 1 time in total.
FWH .. BC582.. xharbour
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: ERROR TO COMPILE A SAMPLE TEST

Postby MdaSolution » Thu Sep 29, 2011 1:19 pm

I add also hbwin.lib but I have other errors

i have fwppc 10.2
FWH .. BC582.. xharbour
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: ERROR TO COMPILE A SAMPLE TEST

Postby Otto » Thu Sep 29, 2011 2:18 pm

Your code is working fine here.
Regards,
Otto
Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: ERROR TO COMPILE A SAMPLE TEST

Postby MdaSolution » Thu Sep 29, 2011 2:31 pm

CAN i SEE THE FILE .BATCH TO COMPILE IT PLEASE
PERHAPS THERE IS A LIB

C:\Work\FWPPC\LIB\fiveCE.lib=1
C:\Work\FWPPC\LIB\FiveCEC.lib=2
%HB_LIB_INSTALL%\hbrtl.lib=3
%HB_LIB_INSTALL%\gtgui.lib=4
%HB_LIB_INSTALL%\hblang.lib=5
%HB_LIB_INSTALL%\hbmacro.lib=6
%HB_LIB_INSTALL%\hbrdd.lib=7
%HB_LIB_INSTALL%\rddntx.lib=8
%HB_LIB_INSTALL%\rddcdx.lib=9
%HB_LIB_INSTALL%\rddfpt.lib=10
%HB_LIB_INSTALL%\hbsix.lib=11
%HB_LIB_INSTALL%\hbdebug.lib=12
%HB_LIB_INSTALL%\hbcommon.lib=13
%HB_LIB_INSTALL%\hbpp.lib=14
%HB_LIB_INSTALL%\hbcpage.lib=15
%C_LIB_INSTALL%\arm\coredll.lib=16
%C_LIB_INSTALL%\arm\corelibc.lib=17
%C_LIB_INSTALL%\arm\aygshell.lib=18
%C_LIB_INSTALL%\arm\ws2.lib=19
%C_LIB_INSTALL%\arm\mfcce400.lib=20
%C_LIB_INSTALL%\arm\ole32.lib=21
%C_LIB_INSTALL%\arm\ceshell.lib=22
%C_LIB_INSTALL%\arm\commctrl.lib=23
%C_LIB_INSTALL%\arm\wininet.lib=24
%C_LIB_INSTALL%\arm\icmplib.lib=25
%C_LIB_INSTALL%\arm\iphlpapi.lib=26
C:\Work\harbour_ce_\lib\hbwin.lib=27



WHICH i NEED ALSO ?
FWH .. BC582.. xharbour
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm

Re: ERROR TO COMPILE A SAMPLE TEST ON WINDOWS SEVEN resolved

Postby MdaSolution » Thu Sep 29, 2011 2:57 pm

RESOLVED !!!
FWH .. BC582.. xharbour
User avatar
MdaSolution
 
Posts: 401
Joined: Tue Jan 05, 2010 2:33 pm


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 5 guests