FWH 11.05 to FWH 14.06 Upgrade Issues

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

FWH 11.05 to FWH 14.06 Upgrade Issues

Post by Jose Dolar »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Post by Antonio Linares »

Jose,

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

Antonio Linares
www.fivetechsoft.com
Jose Dolar
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Post by Jose Dolar »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Post by Antonio Linares »

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
Jose Dolar
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Post by Jose Dolar »

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

******************
* 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
********************
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Post by Antonio Linares »

Jose,

Please add this function to your main PRG:

function WBrowse()

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Jose Dolar
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Post by Jose Dolar »

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

Post by Jose Dolar »

Hi Antonio,

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

Code: Select all

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Post by Antonio Linares »

Jose,

Which PRG is that code from ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Post by Richard Chidiak »

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
Jose Dolar
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Post by Jose Dolar »

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)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Post by Antonio Linares »

Jose,

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

Antonio Linares
www.fivetechsoft.com
Jose Dolar
Posts: 52
Joined: Thu Mar 22, 2012 5:43 pm
Location: USA

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Post by Jose Dolar »

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

Post by Jose Dolar »

Antonio / FWH support,

Any update on this issue? :(

Thank you,

Jose
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: FWH 11.05 to FWH 14.06 Upgrade Issues

Post by Antonio Linares »

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
Post Reply