xBrowse in FWPPC

Post Reply
User avatar
anserkk
Posts: 1280
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

xBrowse in FWPPC

Post by anserkk »

Hi,

I am trying to use xBrowse along with FWPPC. Unfortunately, I am getting the following link errors

FiveCEC.lib(XBROWSEC.obj) : error LNK2005: HB_FUN_XBRWSCROLLROW already defined in FiveCE.lib(XBROWSE.obj)
FiveCE.lib(XBROWSE.obj) : error LNK2001: unresolved external symbol HB_FUN_PALBMPFREE
FiveCE.lib(TREES.obj) : error LNK2001: unresolved external symbol HB_FUN_PALBMPFREE
Test.exe : fatal error LNK1120: 1 unresolved externals
* Linking errors *

Code: Select all

#include "fwce.ch"
#include "hbclass.ch"
#include "Directry.ch"
#include "xbrowse.ch"
*---------------------------------------------------*
FUNCTION Main()
*---------------------------------------------------*
Private oGetCustName,cCustName
Private cBarCode
Private oBtnScan,oBtnSave,oBtnClose
Private oWnd,oBrw,aBarCodes:={}

cCustName:=Space(30)
cBarCode:=Space(13)

DEFINE WINDOW oWnd TITLE "Anser Test"

@ 1.0,02 SAY "Customer :" SIZE 70, 20

@ 1.0,12 GET oGetCustName VAR cCustName SIZE 120, 20 OF oWnd 

@ 04.2,01 BUTTON oBtnScan  PROMPT "Scan" SIZE 80, 30 OF oWnd 
@ 04.2,11 BUTTON oBtnSave  PROMPT "Save File"  SIZE 80, 30 OF oWnd 
@ 04.2,22 BUTTON oBtnClose PROMPT "Close" SIZE 80, 30 OF oWnd ACTION oWnd:End()

@05,01 XBROWSE oBrw OF oWnd ;
       COLUMNS {1} ;
       HEADERS {"Code"} ;
       ARRAY aBarCodeArr ;
       SIZE 40,20 ;  
       FOOTERS CELL        

ACTIVATE WINDOW oWnd

RETURN NIL
 
Am I missing any specific libs. To bulid the exe, I use FwPPc\Samples\BuildCe.Bat

Regards
Anser
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: xBrowse in FWPPC

Post by Silvio »

I thonk no possible on fwppc also
Best Regards, Saludos

Falconi Silvio
Post Reply