error FWH 15.04 with xHarbour.com

error FWH 15.04 with xHarbour.com

Postby kajot » Sat Apr 25, 2015 7:30 pm

Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"S:\lib" -LIBPATH:"R:\lib" -LIBPATH:"R:\c_lib" -LIBPATH:"R:\c_lib\win" "t.obj" "S:\lib\send32.lib" "S:\lib\mem32.lib" "png.lib" "FiveHCM.lib" "FiveHMX.lib" "OptG.lib" "xhb.lib" "dbf.lib" "nsx.lib" "ntx.lib" "cdx.lib" "rmdbfcdx.lib" "ct3comm.lib" crt.lib kernel32.lib user32.lib winspool.lib ole32.lib oleaut32.lib odbc32.lib odbccp32.lib uuid.lib wsock32.lib ws2_32.lib wininet.lib advapi32.lib shlwapi.lib msimg32.lib mpr.lib OleDlg.lib version.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"t.exe"<<<

xLINK: warning: Symbol 'R:\lib\OptG.lib(hvm.obj)->_hb_vmPushSize previously defined at S:\lib\Fivehmx.lib(harbour.obj)' is multiply defined.

Creating object: t.EXP

Creating library: t.LIB

xLINK: error: Unresolved external symbol '_HB_FUN_HB_GETFILESINZIP referenced from Fivehmx.lib(olefuncs.obj)'.

xLINK: error: Unresolved external symbol '_HB_FUN_HB_UNZIPFILE referenced from Fivehmx.lib(olefuncs.obj)'.

xLINK: error: Unresolved external symbol '_GdiplusStartup referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdiplusShutdown referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipAlloc referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCreateFromHDC referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipFree referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipDeleteGraphics referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipSetSmoothingMode referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCreatePen1 referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipSetPenWidth referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipSetPenColor referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipSetPenLineCap197819 referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipSetPenMode referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipDeletePen referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCreateSolidFill referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCloneBrush referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipDeleteBrush referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCreatePathGradientFromPath referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipDrawLine referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipDrawRectangle referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipFillRectangle referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipDrawEllipse referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipFillEllipse referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCreatePath referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipStartPathFigure referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipDeletePath referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipAddPathLineI referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipAddPathRectangleI referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipAddPathArcI referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipClosePathFigure referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipDrawPath referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipDrawArc referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipIsClipEmpty referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipSetPageUnit referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCreateBitmapFromFileICM referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCreateBitmapFromFile referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipDisposeImage referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCloneImage referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCreateBitmapFromScan0 referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCreateBitmapFromHBITMAP referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCreateBitmapFromResource referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCloneBitmapAreaI referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipDrawImageI referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipDrawImageRectI referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipGetImageGraphicsContext referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipSaveImageToFile referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipGetImageThumbnail referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCreateHBITMAPFromBitmap referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipGetImageWidth referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipGetImageHeight referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipImageRotateFlip referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipBitmapSetPixel referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipGetImagePixelFormat referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipBitmapGetPixel referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCreateBitmapFromHICON referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCreateHICONFromBitmap referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCreateBitmapFromStreamICM referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipCreateBitmapFromStream referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: error: Unresolved external symbol '_GdipFillRectangleI referenced from FiveHCM.lib(GDIPLUS.obj)'.

xLINK: fatal error: 60 unresolved external(s).


Type: C >>>Couldn't build: t.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>> 1406<<<
best regards
kajot
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Re: error FWH 15.04 with xHarbour.com

Postby nageswaragunupudi » Sun Apr 26, 2015 1:03 am

Please try adding these libs

c_lib\Win\gdi32.lib
lib\xHBZIP.lib
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: error FWH 15.04 with xHarbour.com

Postby kajot » Sun Apr 26, 2015 7:03 am

thanks

I have to add

[r:\c_lib\win\gdi32.lib]
[r:\c_lib\win\gdiplus.lib]

[xhbzip.lib]
[xhbzipdll.lib]
best regards
kajot
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Re: error FWH 15.04 with xHarbour.com

Postby nageswaragunupudi » Sun Apr 26, 2015 8:39 am

kajot wrote:thanks

I have to add

[r:\c_lib\win\gdi32.lib]
[r:\c_lib\win\gdiplus.lib]

[xhbzip.lib]
[xhbzipdll.lib]

Thanks for the info.
This can be useful to other xhb com users.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: error FWH 15.04 with xHarbour.com

Postby TimStone » Thu May 14, 2015 12:17 am

Hit a wall

My xHarbour.com version does not have a gdiplus.lib

Is it available somewhere ?
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: error FWH 15.04 with xHarbour.com

Postby Antonio Linares » Thu May 14, 2015 8:38 am

Maybe Kajot can help us here

I am sending him an email
regards, saludos

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

Re: error FWH 15.04 with xHarbour.com

Postby nageswaragunupudi » Thu May 14, 2015 9:45 am

My very old xhb demo installation on my computer has gdi32.lib

c:\xHB\c_lib\Win\gdi32.lib

Probably any recent demo installation may have gdiplus.lib also.
But my Pelles C installation has both:

c:\Program Files\PellesC\Lib\Win
has both gdi32.lib and gdiplus.lib.
If you installed PellesC you may find them there.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: error FWH 15.04 with xHarbour.com

Postby Gale FORd » Thu May 14, 2015 1:12 pm

I use xhb.com and had to add the following
C:\xHb\c_lib\Win\psapi.lib
C:\xHb\c_lib\Win\gdiplus.lib
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: error FWH 15.04 with xHarbour.com

Postby TimStone » Thu May 14, 2015 5:47 pm

Coming back to this !

My application has a build with xHarbour. Right now I have to point it to the FWH 14.12 version and it builds fine, then it runs fine.

I tried doing the build with FWH 15.04 but it wants the two GDI .lib files. When I link them in, the .exe will build. However, when I click on the icon to start the program, Windows gives me a BUSY cursor and then reverts to the regular cursor and the program never opens.

Here is what is consistent:

xHB ( .com ) using xBuilder
My source code ( exact same in both cases )

And what is different ? FWH 14.12 versus 15.04.

Also, if I build using 14.12 and link in the GDI libraries, it will not run though it will build.

Any thoughts
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: error FWH 15.04 with xHarbour.com

Postby Antonio Linares » Thu May 14, 2015 6:23 pm

Tim,

Please check if a log file is created
regards, saludos

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

Re: error FWH 15.04 with xHarbour.com

Postby TimStone » Thu May 14, 2015 6:40 pm

Building with FWH 15.04 and GDI libs.
A trace.log is created with 0 bytes. The executable is ASW92.exe and sometimes there is an ASW92.log created, but not this time.
There are no errors showing.

Building with FWH 14.12 and GDI libs
Same result ... it builds but does not run

Building with FWH 14.12 and NO GDI libs
Builds and runs with no problems
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: error FWH 15.04 with xHarbour.com

Postby Antonio Linares » Fri May 15, 2015 8:08 am

Tim,

Could you place a MsgInfo() just at the beginning of your app and check if it is shown ? thanks
regards, saludos

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

Re: error FWH 15.04 with xHarbour.com

Postby Gale FORd » Fri May 15, 2015 3:23 pm

also found in my ErrSysW.prg
hLogo = FWBitMap()
which would make my program crash without warning. Took me awhile to find this one. In the errsysw_.prg supplied by FiveWin I noticed it was replaced with
hLogo = FWLogoBitMap()
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: error FWH 15.04 with xHarbour.com

Postby TimStone » Fri May 15, 2015 5:32 pm

Antonio,

It fails with DEFINE FONT statements. This statement kills it

DEFINE FONT oMfont NAME cSysFont SIZE 0,-12 BOLD

cSysFont is defined as "Segoe UI", but will also fail if using GetSysFont( ) to define cSysFont

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: error FWH 15.04 with xHarbour.com

Postby Antonio Linares » Fri May 15, 2015 5:59 pm

Tim,

really strange

Could you add this function and try it again ?

function CreateFont()

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
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 38 guests