xHarbour/BCC32/UE Studio Project build

xHarbour/BCC32/UE Studio Project build

Postby TimStone » 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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: xHarbour/BCC32/UE Studio Project build

Postby Enrico Maria Giordano » Thu Oct 07, 2010 7: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
User avatar
Enrico Maria Giordano
 
Posts: 8711
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: xHarbour/BCC32/UE Studio Project build

Postby TimStone » Thu Oct 07, 2010 4: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Re: xHarbour/BCC32/UE Studio Project build

Postby TimStone » 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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: xHarbour/BCC32/UE Studio Project build

Postby Enrico Maria Giordano » Fri Oct 08, 2010 6:58 am

Can you show a little sample of the problem?

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

Re: xHarbour/BCC32/UE Studio Project build

Postby Antonio Linares » Fri Oct 08, 2010 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: xHarbour/BCC32/UE Studio Project build

Postby TimStone » Fri Oct 08, 2010 5: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: xHarbour/BCC32/UE Studio Project build

Postby James Bott » Fri Oct 08, 2010 5: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: xHarbour/BCC32/UE Studio Project build

Postby James Bott » Fri Oct 08, 2010 5: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Enrico Maria Giordano, Google [Bot] and 97 guests