help to compile c5new.c

help to compile c5new.c

Postby Silvio » Fri Feb 18, 2011 8: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: help to compile c5new.c

Postby Silvio » Tue Feb 22, 2011 7: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: help to compile c5new.c

Postby jose_murugosa » Thu Feb 24, 2011 5: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 y el teclado y la IA!!"
User avatar
jose_murugosa
 
Posts: 1180
Joined: Mon Feb 06, 2006 4:28 pm
Location: Uruguay

Re: help to compile c5new.c

Postby Silvio » Thu Feb 24, 2011 6:08 pm

I cannot open it I have windows seven 64 bit
Best Regards, Saludos

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

Re: help to compile c5new.c

Postby Silvio » Thu Feb 24, 2011 6:10 pm

can you send me all on zip file to email please
Best Regards, Saludos

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

Re: help to compile c5new.c

Postby jose_murugosa » Thu Feb 24, 2011 7: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 y el teclado y la IA!!"
User avatar
jose_murugosa
 
Posts: 1180
Joined: Mon Feb 06, 2006 4:28 pm
Location: Uruguay

Re: help to compile c5new.c

Postby Silvio » Thu Feb 24, 2011 9: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: help to compile c5new.c

Postby Andrés González » Mon Mar 07, 2011 5: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
User avatar
Andrés González
 
Posts: 628
Joined: Thu Jan 19, 2006 10:45 am
Location: Mallorca

Re: help to compile c5new.c

Postby Silvio » Mon Mar 07, 2011 5:40 pm

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

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 86 guests

cron