error FWH 15.04 with xHarbour.com

Re: error FWH 15.04 with xHarbour.com

Postby TimStone » Fri May 15, 2015 6:09 pm

And now we stop at:

DEFINE BRUSH oBrush RESOURCE "SKY"

SKY.bmp is in the resource file ...

Was there another .prg file to be linked in once you started once you started using this library ?
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 6:51 pm

Tim,

What FWH libraries (the names) are you linking ?
regards, saludos

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

Re: error FWH 15.04 with xHarbour.com

Postby TimStone » Fri May 15, 2015 7:05 pm

The same as always with xBuilder ( xHarbour.com )

FIVEHCM 5/2/15 12:03PM
FIVEHMX 5/3/15 05:18PM
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 TimStone » Mon May 18, 2015 3:43 pm

Any progress with this ?
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 » Mon May 18, 2015 4:58 pm

Tim,

I thought about trying it with xhb.com demo

Haven't you migrated to Visual Studio yet ?
regards, saludos

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

Re: error FWH 15.04 with xHarbour.com

Postby TimStone » Mon May 18, 2015 9:59 pm

Antonio,

My primary application is built in parallel with xHarbour Builder ( .com ) and Visual Studio. However, only the xHarbour version is in distribution. This is because there are some issues we have never resolved with backward compatibility and the Windows vesion ( ie. ADS for V7 & 8, plus others ).

My complete re-write is built in Visual Studio, but there are still a few issues for that one ( the same as the distributed app would have with VS ). So I will likely have to create a version of it for xHarbour also. I can't do that because I'm using features in FWH 15.04 ( like merging buttonbars into dialogs ).

I wish I didn't have that problem, but I need to keep my customers running and moving forward or there will be no money ....

So ... something is missing that I need. I know others are using xHarbour ( .com ) version. Are they all doing OK ? They may have resolved the issue with 15.01, .02, or .03. I have to go back to 14.12 to get it to work correctly, and it all seems to be involving the GDI .libs.

I greatly appreciate the help.

Tim

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 carlos vargas » Tue May 19, 2015 12:54 am

tim, can you add this to project, and comment.
Code: Select all  Expand view

#pragma BEGINDUMP

#include <windows.h>
#include <hbapi.h>

HB_FUNC( NEXTMEM ) // --> nHardwareMemory
{
   MEMORYSTATUSEX mst;

   memset( &mst, 0, sizeof( MEMORYSTATUSEX ) );
   mst.dwLength = sizeof( MEMORYSTATUSEX );

   GlobalMemoryStatusEx( &mst );

   hb_retnll( mst.ullTotalPhys );
}

HB_FUNC( NAVAILMEM ) // --> nHardwareMemory
{
   MEMORYSTATUSEX mst;

   memset( &mst, 0, sizeof( MEMORYSTATUSEX ) );
   mst.dwLength = sizeof( MEMORYSTATUSEX );

   GlobalMemoryStatusEx( &mst );

   hb_retnll( mst.ullAvailPhys );
}
#pragma ENDDUMP
 
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1719
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: error FWH 15.04 with xHarbour.com

Postby TimStone » Tue May 19, 2015 1:00 am

They don't do anything ...
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 Enrico Maria Giordano » Tue May 19, 2015 8:47 am

Tim,

why not asking directly to xHarbour.com?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: error FWH 15.04 with xHarbour.com

Postby Gale FORd » Tue May 19, 2015 3:47 pm

I am using 15.02 with xhb.
I have some other files supplied by Fivewin that I have to add to .xbp file
xhb2.obj
mem32.lib
png.lib
send32.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 » Tue May 19, 2015 3:57 pm

Gale,

I have xhb.obj but don't see an xhb2.obj anywhere. Where can I find that ?
png.lib we used with Microsoft builds but not previously with xHb. I added it from the Harbour build ... no difference.
The others are already in the build file.

Enrico,

xHarbour.com didn't make a change. That was part of FWH. That is why I ask here. It's the same xHarbour compiler I have used for years ... no changes whatsoever, and it builds fine with 14.12 but not 15.04

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 » Tue May 19, 2015 4:03 pm

Tim,

I am trying to build a simple PRG using xBuildW.exe (demo version) but on this computer I have installed Windows 10
and it seems not to work fine.

Coould you test it on your computer and confirm me that it builds fine for you ?

test.exe.xbp
Code: Select all  Expand view
CINI =
C_OUTPUTFOLDER =
DEFFILE =
INCLUDEFOLDERS =
LAUTORUN = .T.
LDEBUG = .F.
LGUI = .F.
LIBFOLDERS =
LMT = .F.
LNOAUTOFWH = .F.
LPRG_CLASSICDEBUG = .F.
LPRG_DEBUG = .F.
LUSEDLL = .F.
MAPFILE =
MYC_FLAGS =
MYDEFINES =
MYLINK_FLAGS =
MYPRG_FLAGS =
MYRC_FLAGS =
MYSLY_FLAGS =
OUTPUTFOLDER =
PRG_OUTPUTFOLDER =
RC_OUTPUTFOLDER =
RUNARGUMENTS =
SLY_OUTPUTFOLDER =
STARTIN =
TARGETFOLDER =

[test.prg]
MYC_FLAGS =
MYDEFINES =
MYPRG_FLAGS =
 


test.prg
Code: Select all  Expand view
#include "FiveWin.ch"

function Main()

   local oWnd

   DEFINE WINDOW oWnd

   ACTIVATE WINDOW oWnd

return nil


Maybe I am missing something, thanks
regards, saludos

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

Re: error FWH 15.04 with xHarbour.com

Postby TimStone » Tue May 19, 2015 4:58 pm

As submitted, here is the error log:

Code: Select all  Expand view


Type: C >>>xhb.exe -o"Test.c" -m -n -p -q -gc0   -I"C:\fwh\include" -I"C:\xHB\include" -I"C:\xHB\include\w32" "c:\projects\testant\Test.prg"<<<

xHarbour Compiler build 1.2.1 (SimpLex) (Rev. 6726)
Copyright 1999-2010, http://www.xharbour.org http://www.harbour-project.org/
Generating object output to 'Test.obj'...

Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"C:\fwh\lib" -LIBPATH:"C:\xHB\lib" -LIBPATH:"\xhb\c_lib" -LIBPATH:"\xhb\c_lib\win"  "Test.obj" "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:"TestAnt.exe"<<<

Creating object: TestAnt.EXP

Creating library: TestAnt.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 '_GlobalMemoryStatusEx referenced from FiveHCM.lib(MEM.obj)'.

xLINK: error: Unresolved external symbol '_SendInput referenced from FiveHCM.lib(KEYBRD.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: 62 unresolved external(s).


Type: C >>>Couldn't build: TestAnt.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>>      1423<<<


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 » Wed May 20, 2015 6:40 am

Tim,

Where do you get the error log ? I can't find it here.

It may be a Windows 10 conflict. Not sure about this
regards, saludos

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

Re: error FWH 15.04 with xHarbour.com

Postby mastintin » Wed May 20, 2015 8:23 am

C:\xHb\c_lib\Win\psapi.lib
C:\xHb\c_lib\Win\gdiplus.lib
not link listed in log file .
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

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