FWH 11.05 to FWH 14.06 Upgrade Issues

FWH 11.05 to FWH 14.06 Upgrade Issues

Postby Jose Dolar » Tue Jul 01, 2014 8:45 pm

Hi Antonio / FW Support,

I just downloaded my FW 14.06 upgrade. :)
However, I encountered the following unresolved external issues.

What I am missing?

Thank you,

Jose

Environment: BCC582, Harbour 3.2

Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_HB_COMPILEFROMBUF' referenced from C:\FWH\LIB\FIVEH.LIB|HARBOUR
Error: Unresolved external '_png_get_io_ptr' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_create_read_struct' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_read_fn' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_read_info' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_get_valid' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_tRNS_to_alpha' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_gray_to_rgb' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_bgr' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_strip_16' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_get_IHDR' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_read_update_info' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_get_channels' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_get_rowbytes' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_read_image' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_destroy_read_struct' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_sig_cmp' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_create_write_struct' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_create_info_struct' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_longjmp_fn' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_IHDR' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_malloc' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_init_io' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_set_rows' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_write_png' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_free' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_png_destroy_write_struct' referenced from C:\FWH\LIB\FIVEHC.LIB|FWPNG
Error: Unresolved external '_HB_FUN_WBROWSE' referenced from C:\DEV32\PCR32_WIN8XP_1406\OBJ\LS_FUNCS2.OBJ
Jose Dolar
 
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Postby Antonio Linares » Tue Jul 01, 2014 10:29 pm

Jose,

Please add this library from Harbour hbcplr.lib, also png.lib
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42053
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Postby Jose Dolar » Tue Jul 01, 2014 10:49 pm

Antonio,

There still more unresolved after I added Harbour hbcplr.lib and png.lib.

Do I also need to change libraries with *-bcc.lib, Like the xhb.lib with xhb-bcc.lib, and etc.?

Thank you.

Jose

Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_inflateReset' referenced from C:\HARBOUR\LIB\PNG.LIB|png
Error: Unresolved external '_adler32' referenced from C:\HARBOUR\LIB\PNG.LIB|png
Error: Unresolved external '_crc32' referenced from C:\HARBOUR\LIB\PNG.LIB|png
Error: Unresolved external '_deflateEnd' referenced from C:\HARBOUR\LIB\PNG.LIB|pngwutil
Error: Unresolved external '_deflateReset' referenced from C:\HARBOUR\LIB\PNG.LIB|pngwutil
Error: Unresolved external '_deflateInit2_' referenced from C:\HARBOUR\LIB\PNG.LIB|pngwutil
Error: Unresolved external '_deflate' referenced from C:\HARBOUR\LIB\PNG.LIB|pngwutil
Error: Unresolved external '_inflateReset2' referenced from C:\HARBOUR\LIB\PNG.LIB|pngrutil
Error: Unresolved external '_inflateInit2_' referenced from C:\HARBOUR\LIB\PNG.LIB|pngrutil
Error: Unresolved external '_inflate' referenced from C:\HARBOUR\LIB\PNG.LIB|pngrutil
Error: Unresolved external '_inflateEnd' referenced from C:\HARBOUR\LIB\PNG.LIB|pngread
Error: Unresolved external '_HB_FUN_WBROWSE' referenced from C:\DEV32\PCR32_WIN8XP_1406\OBJ\LS_FUNCS2.OBJ
Jose Dolar
 
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Postby Antonio Linares » Wed Jul 02, 2014 3:56 am

Jose,

Enlaza tambien hbzlib.lib

En cuanto a WBrowse(), puedes mostrarme el código de tu programa en donde lo usas ?

Está en tu LS_FUNCS2.prg
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42053
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Postby Jose Dolar » Wed Jul 02, 2014 1:59 pm

Antonio,

Great! There's only one Unresolved external error left. Here I attached the offending code.

BTW, I am not very good in Spanish. :)

Thank you,

Jose

Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_HB_FUN_WBROWSE' referenced from C:\DEV32\PCR32_WIN8XP_1406\OBJ\LS_FUNCS2.OBJ

Code: Select all  Expand view
******************
* Wrapper to call native function browse, mostly used in debugging sessions
* For some reasons Browse is not visibile from script file executed through macro compiler at runtime. Somehow, this forced Harbour to Link Browse.
function ExpBrowse
browse()
return nil
********************
Jose Dolar
 
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Postby Antonio Linares » Wed Jul 02, 2014 5:44 pm

Jose,

Please add this function to your main PRG:

function WBrowse()

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42053
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Postby Jose Dolar » Wed Jul 02, 2014 8:12 pm

Antonio,

I can now create an EXE, but the EXE terminated right away when started.

Harbour left the following in the compiler's log. Linker's log is fine.

Thanks,

Jose

Harbour 3.2.0dev (r1307082134)
Copyright (c) 1999-2013, http://harbour-project.org/
Compiling '.\LS_FUNCS2.PRG'...

100 100 100 100 200 300 400 500 100 200 100 100 200 300 400 500 600 700 800 900 1000 1100 1200 100 100 100 200 300 400 500 600 100 200
Lines 4524, Functions/Procedures 7
Generating C source output to 'obj\LS_FUNCS2.c'... Done.
Jose Dolar
 
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Postby Jose Dolar » Wed Jul 02, 2014 10:36 pm

Hi Antonio,

It is failing in the line ::super:new as shown below.

Code: Select all  Expand view
alert(ls_trace(5))
    ::super:New( ::nTop, ::nLeft, ::nBottom, ::nRight, ::cCaption, ::nStyle, ::oMenu, ::oBrush,;
                ::oIcon, /*nClrText*/, /*nClrPane*/, /*lVScroll*/ .f., /*lHScroll*/ .f., ::nMenuInfo,;
                /*cBorder*/, ::oWnd, /*lPixel*/ .t. )
alert(ls_trace(5))


Please advise.

Thank you,

Jose
Jose Dolar
 
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Postby Antonio Linares » Thu Jul 03, 2014 3:19 am

Jose,

Which PRG is that code from ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42053
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Postby Richard Chidiak » Thu Jul 03, 2014 4:40 am

Joe

Try adding this at the top of your prg

#ifdef __HARBOUR__
#ifndef __XHARBOUR__
#define Super ::super
#endif
#endif


Hth

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Postby Jose Dolar » Thu Jul 03, 2014 7:16 am

Antonio / Richard,

Thank you guys for your responses.

It looks like that Richard suggestions works. I can now see my application, but with error message. After the error message window is close my application terminated.

Please advise.

Thank you,

Jose

20140702
23:59:58;(b)TRY@16
__ERRRT_SBASE@0
TMSGBAR:ERROR@0
(b)HBOBJECT@0
Alias TOTALS
PC/Register+(tm) 5.3-20140702 SN0000000001
Error BASE/1004 Message not found: TMSGBAR:AITEM Args: (O:TMSGBAR)
Jose Dolar
 
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Postby Antonio Linares » Thu Jul 03, 2014 7:50 am

Jose,

Look for TMsgBar:aItem in your code and replace it with TMsgBar:aItems
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42053
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Postby Jose Dolar » Tue Jul 08, 2014 10:32 pm

Antonio,

Great news, the EXE looks like now working after implementing your suggestion.

However, I got the following error when exiting the application. The Application also needs to be manually removed from the Task Manager.

Please advise.

Thank you,

Jose

20140708;15:23:23;(b)TRY@16
(b)TMENU@91
TMENU:DESTROY@0
CPCREG:DESTROY@2120
Alias
PC/Register+(tm) 5.3-20140708 SN0000000001
Error BASE/1066 Argument error: conditional Args: (U:)
Jose Dolar
 
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Postby Jose Dolar » Mon Jul 14, 2014 4:18 am

Antonio / FWH support,

Any update on this issue? :(

Thank you,

Jose
Jose Dolar
 
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Postby Antonio Linares » Mon Jul 14, 2014 6:53 am

Jose,

How are you creating your menu ? Please post here the source code where you create it.

Basically it is the same thing (my guessing) that we talked this weekend in the forums:

Probably DATA l2007 and/or l2010 are nil, and they should be logical.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42053
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 17 guests