FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour help to compile c5new.c
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
help to compile c5new.c
Posted: Fri Feb 18, 2011 08:33 PM
I have problems with c5new.c
I have xHarbour build 1.2.1 Intl. (SimpLex) (Rev. 6715)
I
when I compile it make errors but create the lib

I have this problem
if I link the lib , then I cannot see bitmaps on combobox control of fivewin

I must compile with lib of P a c o for vmenu.prg and vitem.prg ( vtaskbar)

I have some error when I compile c5new.c

I not Know why but I made many tests


Error E2451 c5cnew.c 303: Undefined symbol 'hb_stackST' in function HB_FUN_BOX
Error E2451 c5cnew.c 339: Undefined symbol 'hb_stackST' in function HB_FUN_BOXEX
Error E2451 c5cnew.c 730: Undefined symbol 'hb_stackST' in function HB_FUN_FILLSOLIDRECT
Error E2451 c5cnew.c 940: Undefined symbol 'hb_stackST' in function HB_FUN_ROUNDRECTEX
Warning W8064 c5cnew.c 1114: Call to function with no prototype in function C5_IsAppThemed
Warning W8065 c5cnew.c 1123: Call to function 'C5_IsAppThemed' with no prototype in function HB_FUN_C5_ISAPPTHEMED
Warning W8064 c5cnew.c 1137: Call to function with no prototype in function C5_IsThemeActive
Warning W8065 c5cnew.c 1146: Call to function 'C5_IsThemeActive' with no prototype in function HB_FUN_C5_ISTHEMEACTIVE
Warning W8057 c5cnew.c 1237: Parameter 'pClipRect' is never used in function C5_DrawThemeBackground
Warning W8075 c5cnew.c 1311: Suspicious pointer conversion in function HB_FUN_C5_DRAWTHEMETEXT
Warning W8075 c5cnew.c 1737: Suspicious pointer conversion in function HB_FUN_MENUDRAWITEM2
Warning W8004 c5cnew.c 2563: 'width' is assigned a value that is never used in function VerticalGradient
Error E2451 c5cnew.c 2787: Undefined symbol 'hb_stackST' in function HB_FUN_CGETFILEEX
Warning W8057 c5cnew.c 2926: Parameter 'lp' is never used in function BrowseCallbackProc
Warning W8081 c5cnew.c 3029: void functions may not return a value in function HB_FUN_POW
Warning W8004 c5cnew.c 3398: 'hBrush' is assigned a value that is never used in function HorizontalGradient
*** 5 errors in Compile ***




the lib is created but then I cannot show bitmaps on combobox control of fivewin

this is strange because I used the lib always and I never have problems with it

have U found this error ?
Best Regards, Saludos



Falconi Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: help to compile c5new.c
Posted: Tue Feb 22, 2011 07:35 AM
I saw all ERRORs are this

if ( hb_pcount() ....

perhaps the function hb_pcount() must be declare in different mode or it is ok ?
all error are 'hb_stackST' but I not found it

Error E2451 c5cnew.c 303: Undefined symbol 'hb_stackST' in function HB_FUN_BOX
Error E2451 c5cnew.c 339: Undefined symbol 'hb_stackST' in function HB_FUN_BOXEX
Error E2451 c5cnew.c 730: Undefined symbol 'hb_stackST' in function HB_FUN_FILLSOLIDRECT
Error E2451 c5cnew.c 940: Undefined symbol 'hb_stackST' in function HB_FUN_ROUNDRECTEX
Error E2451 c5cnew.c 2787: Undefined symbol 'hb_stackST' in function HB_FUN_CGETFILEEX

someone can explain me please ?
Best Regards, Saludos



Falconi Silvio
Posts: 1279
Joined: Mon Feb 06, 2006 04:28 PM
Re: help to compile c5new.c
Posted: Thu Feb 24, 2011 05:57 PM

Silvio,

I think this version of Canalfive lib must work for you, it works with recent versions of xharbour y fwh.

You will find in this sfx file the source code and the lib compiled, I hope It works for you.

http://www.box.net/shared/8uq143h73f

Saludos/Regards,

José Murugosa

"Los errores en programación, siempre están entre la silla, el teclado y la IA!!"
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: help to compile c5new.c
Posted: Thu Feb 24, 2011 06:08 PM

I cannot open it I have windows seven 64 bit

Best Regards, Saludos



Falconi Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: help to compile c5new.c
Posted: Thu Feb 24, 2011 06:10 PM

can you send me all on zip file to email please

Best Regards, Saludos



Falconi Silvio
Posts: 1279
Joined: Mon Feb 06, 2006 04:28 PM
Re: help to compile c5new.c
Posted: Thu Feb 24, 2011 07:35 PM
Silvio wrote:can you send me all on zip file to email please


ok, this is a zip file

http://www.box.net/shared/udggepx16d
Saludos/Regards,

José Murugosa

"Los errores en programación, siempre están entre la silla, el teclado y la IA!!"
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: help to compile c5new.c
Posted: Thu Feb 24, 2011 09:34 PM

now is ok
I found the error
when we compile thelib must not link also the imagelist.prg file because it create errr on combobox with bitmas
imagelist.prg is a test of P A C O not is a class of library

Best Regards, Saludos



Falconi Silvio
Posts: 632
Joined: Thu Jan 19, 2006 10:45 AM
Re: help to compile c5new.c
Posted: Mon Mar 07, 2011 05:18 PM

Silvio is the same error that happen to me. How you solve it. I try to delete de imagelist and nothing happen.

with bcc55:

--------------------Configuración: tInforme - Debug--------------------
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
G:\policia\C5\C5LIB\Source\c5cnew.c:
Error E2451 G:\policia\C5\C5LIB\Source\c5cnew.c 303: Undefined symbol 'hb_stackST' in function HB_FUN_BOX
Error E2451 G:\policia\C5\C5LIB\Source\c5cnew.c 339: Undefined symbol 'hb_stackST' in function HB_FUN_BOXEX
Error E2451 G:\policia\C5\C5LIB\Source\c5cnew.c 730: Undefined symbol 'hb_stackST' in function HB_FUN_FILLSOLIDRECT
Error E2451 G:\policia\C5\C5LIB\Source\c5cnew.c 940: Undefined symbol 'hb_stackST' in function HB_FUN_ROUNDRECTEX
Warning W8064 G:\policia\C5\C5LIB\Source\c5cnew.c 1114: Call to function with no prototype in function C5_IsAppThemed
Warning W8065 G:\policia\C5\C5LIB\Source\c5cnew.c 1123: Call to function 'C5_IsAppThemed' with no prototype in function HB_FUN_C5_ISAPPTHEMED
Warning W8064 G:\policia\C5\C5LIB\Source\c5cnew.c 1137: Call to function with no prototype in function C5_IsThemeActive
Warning W8065 G:\policia\C5\C5LIB\Source\c5cnew.c 1146: Call to function 'C5_IsThemeActive' with no prototype in function HB_FUN_C5_ISTHEMEACTIVE
Warning W8057 G:\policia\C5\C5LIB\Source\c5cnew.c 1237: Parameter 'pClipRect' is never used in function C5_DrawThemeBackground
Warning W8075 G:\policia\C5\C5LIB\Source\c5cnew.c 1311: Suspicious pointer conversion in function HB_FUN_C5_DRAWTHEMETEXT
Warning W8075 G:\policia\C5\C5LIB\Source\c5cnew.c 1737: Suspicious pointer conversion in function HB_FUN_MENUDRAWITEM2
Warning W8004 G:\policia\C5\C5LIB\Source\c5cnew.c 2563: 'width' is assigned a value that is never used in function VerticalGradient
Error E2451 G:\policia\C5\C5LIB\Source\c5cnew.c 2787: Undefined symbol 'hb_stackST' in function HB_FUN_CGETFILEEX
Warning W8057 G:\policia\C5\C5LIB\Source\c5cnew.c 2926: Parameter 'lp' is never used in function BrowseCallbackProc
Warning W8057 G:\policia\C5\C5LIB\Source\c5cnew.c 2926: Parameter 'pData' is never used in function BrowseCallbackProc
Warning W8081 G:\policia\C5\C5LIB\Source\c5cnew.c 3029: void functions may not return a value in function HB_FUN_POW
Warning W8004 G:\policia\C5\C5LIB\Source\c5cnew.c 3398: 'hBrush' is assigned a value that is never used in function HorizontalGradient
Warning W8004 G:\policia\C5\C5LIB\Source\c5cnew.c 3398: 'height' is assigned a value that is never used in function

Saludos



Andrés González desde Mallorca
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Re: help to compile c5new.c
Posted: Mon Mar 07, 2011 05:40 PM

I sent you my zip, here i compiled it with success !! ( only some warnings)

Best Regards, Saludos



Falconi Silvio

Continue the discussion