FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xHarbour/BCC32/UE Studio Project build
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
xHarbour/BCC32/UE Studio Project build
Posted: Thu Oct 07, 2010 12:06 AM

First, a comment. The guidance provided on this forum is amazing. I have been working through several challenges, reading older posts, etc. and most of my questions have been answered.

I am studying moving from xBuilder to UE Studio project with a very large application. I've reviewed the samples people posted and have my files configured as suggested.

I was able to get a build. I do have a problem with some functions apparently not supported so I created dummies for those. I can work with that for now and get some workarounds later.

My main problem is that none of my bitmaps show up. I use them on button bars, screens, etc. My guess is I'm missing a file ( ? lib ) or .dll
My second huge problem is the program is much slower then the xCC build with xBuilder
The third problem is this. From the main window, I call a dialog with an xBrowse. Clicking on an entry in the browse will bring up a multi-folder dialog. In this build, it crashes the program with a windows message that it stopped working.

With all things going on, someone may well say "hey you need ...."

Your comments are appreciated.

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
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: xHarbour/BCC32/UE Studio Project build
Posted: Thu Oct 07, 2010 07:07 AM
TimStone wrote:My main problem is that none of my bitmaps show up. I use them on button bars, screens, etc.


If your bitmap is defined in a resource file (or in a DLL) then open the memory option and check that 'Discardable' is not checked.

TimStone wrote:My second huge problem is the program is much slower then the xCC build with xBuilder


This is not expected at all.

EMG
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: xHarbour/BCC32/UE Studio Project build
Posted: Thu Oct 07, 2010 04:27 PM

Memory option ? Where ?

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
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: xHarbour/BCC32/UE Studio Project build
Posted: Thu Oct 07, 2010 08:15 PM

In your resource editor.

EMG

Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: xHarbour/BCC32/UE Studio Project build
Posted: Thu Oct 07, 2010 10:48 PM

There in lies the problem ... no resource editor. I pretty much handcode the .rc file now ... I get much better alignment, etc.,

I'm calling bitmaps created in Axialis. In the .rc it is simply TEST BITMAP "Test.bmp"

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
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: xHarbour/BCC32/UE Studio Project build
Posted: Fri Oct 08, 2010 06:58 AM

Can you show a little sample of the problem?

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: xHarbour/BCC32/UE Studio Project build
Posted: Fri Oct 08, 2010 07:17 AM

Tim,

Please use this tool to inspect your EXE and check that your bitmaps are inside it (resources folder):

peinfo.exe yourapp.exe

http://www.fivetechsoft.com/files/software/peinfo.exe

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: xHarbour/BCC32/UE Studio Project build
Posted: Fri Oct 08, 2010 05:09 PM

Yes, all bitmaps are in the resource in the .exe.

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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: xHarbour/BCC32/UE Studio Project build
Posted: Fri Oct 08, 2010 05:28 PM

It may be the format of the bitmaps. I suggest trying one of the bitmaps provided by FWH to see if it works.

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: xHarbour/BCC32/UE Studio Project build
Posted: Fri Oct 08, 2010 05:31 PM
Tim

My second huge problem is the program is much slower then the xCC build with xBuilder


Could you provide more information--slower doing what? How much slower?

Maybe you could find one of the FWH\sample programs that you can benchmark with both compilers.

Regards,
James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion