TCalex compile error? *Calex1 is fine* OK now

TCalex compile error? *Calex1 is fine* OK now

Postby dutch » Fri Jun 28, 2013 12:56 am

Dear All,

I'm sorry to ask OFF-Topic TCalex (download from FW Contribute). I try to compile but it doesn't successful. It has error as below;
I already add PNG.LIB and PSAPI.LIB already. I use FWH13.05/xHB 1.2.3/BCC582.
Code: Select all  Expand view
D:\FWH1305\download\TCalex>if not exist obj md obj

D:\FWH1305\download\TCalex>d:\bcc582\bin\make -ftest.mak HBDIR=d:\xharbour1303 BCDIR=d:\bcc582 FWDIR=d:\fwh1305 -DXHARBOUR
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
    d:\bcc582\bin\brc32.exe -r .\rc\xpp.rc
Borland Resource Compiler  Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation.  All rights reserved.
    echo off
    echo d:\bcc582\lib\c0w32.obj + > b32.bc
    echo obj\sample01.obj obj\calinfo.obj obj\tcalex.obj obj\tdayv.obj obj\tmonthv.obj obj\tweekv.obj obj\calexc.obj obj\richedit.obj, + >> b32.bc
    echo calex.exe, + >> b32.bc
    echo calex.map, + >> b32.bc
    echo d:\fwh1305\lib\FiveHC.lib + >> b32.bc
    echo d:\fwh1305\lib\FiveHX.lib + >> b32.bc
    echo d:\xharbour1303\lib\rtl.lib + >> b32.bc
    echo d:\xharbour1303\lib\vm.lib + >> b32.bc
    echo d:\xharbour1303\lib\gtgui.lib + >> b32.bc
    echo d:\xharbour1303\lib\lang.lib + >> b32.bc
    echo d:\xharbour1303\lib\macro.lib + >> b32.bc
    echo d:\xharbour1303\lib\rdd.lib + >> b32.bc
    echo d:\xharbour1303\lib\dbfntx.lib + >> b32.bc
    echo d:\xharbour1303\lib\dbfcdx.lib + >> b32.bc
    echo d:\xharbour1303\lib\dbffpt.lib + >> b32.bc
    echo d:\xharbour1303\lib\hbsix.lib + >> b32.bc
    echo d:\xharbour1303\lib\debug.lib + >> b32.bc
    echo d:\xharbour1303\lib\common.lib + >> b32.bc
    echo d:\xharbour1303\lib\pp.lib + >> b32.bc
    echo d:\xharbour1303\lib\pcrepos.lib + >> b32.bc
    echo d:\xharbour1303\lib\ct.lib + >> b32.bc
    echo d:\xharbour1303\lib\zlib.lib + >> b32.bc
    echo d:\xharbour1303\lib\hbzip.lib + >> b32.bc
    echo d:\xharbour1303\lib\codepage.lib + >> b32.bc
    echo d:\xharbour1303\lib\png.lib + >> b32.bc
    echo d:\bcc582\lib\cw32.lib + >> b32.bc
    echo d:\bcc582\lib\import32.lib + >> b32.bc
    echo d:\bcc582\lib\psdk\odbc32.lib + >> b32.bc
    echo d:\bcc582\lib\psdk\nddeapi.lib + >> b32.bc
    echo d:\bcc582\lib\psdk\iphlpapi.lib + >> b32.bc
    echo d:\bcc582\lib\psdk\msimg32.lib + >> b32.bc
    echo d:\bcc582\lib\psdk\rasapi32.lib, >> b32.bc
    echo d:\bcc582\lib\psdk\psapi.lib, >> b32.bc
    d:\bcc582\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_FECHASERVER' referenced from D:\FWH1305\DOWNLOAD\TCALEX\OBJ\TCALEX.OBJ

** error 2 ** deleting calex.exe

D:\FWH1305\download\TCalex>calex
 

Thanks for any help and comment.
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: TCalex compile error? *Calex1 is fine* OK now

Postby cnavarro » Fri Jun 28, 2013 8:44 am

Try

Code: Select all  Expand view

METHOD New( oWnd, nClrText) CLASS TCalEx

   local nMod, aFontInfo, n

   DEFAULT oWnd     := GetWndDefault()
   DEFAULT nClrText := 0

   ::oBmp[1] := LoadBitmap( GetResources(), "NEXT"       )    // fjhg
   ::oBmp[2] := LoadBitmap( GetResources(), "PREVIOUS"   )    // fjhg
   ::oBmp[3] := LoadBitmap( GetResources(), "NEXT_O"     )    // fjhg
   ::oBmp[4] := LoadBitmap( GetResources(), "PREVIOUS_O" )    // fjhg

   ::nTop       = 0
   ::nLeft      = 0
   ::nBottom    = 600
   ::nRight     = 600
   ::oWnd       = oWnd

   //Dates
   ::dDate         := Date()   //FechaServer()    // Date() fjhg

   ::dDateSelected := ::dDate
 


Regards
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: TCalex compile error? *Calex1 is fine* OK now

Postby dutch » Fri Jun 28, 2013 11:24 pm

Dear Cristobal,

Thanks for your advise.
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], jmartial and 116 guests