CreateDlgError and ResEd Resource Editor (Solved)

Re: CreateDlgError and ResEd Resource Editor

Postby anserkk » Mon Jan 05, 2009 8:59 am

Dear Fraxzi,

This is my project properties screen, Is it OK ?

Image

I have found that the xMate is not adding a particular BMP and a DIALOG (created with the ResEd) to the EXE. Another amazing thing is that the .RES generated by xMate (PellesC PORC.EXE) contains both the above said BMP and DIALOG. I wonder what is going wrong ?.

Any hint regarding the linking of .RES file to the EXE

Regards

Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: CreateDlgError and ResEd Resource Editor

Postby fraxzi » Mon Jan 05, 2009 9:00 am

Dear Anser,

I'll wait so we can work this out.


Regards,
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: CreateDlgError and ResEd Resource Editor

Postby fraxzi » Mon Jan 05, 2009 9:08 am

Looks OK with me...

Here's mine.

Image

Image

Image

Image

Anything else are default.

I have found that the xMate is not adding a particular BMP and a DIALOG (created with the ResEd) to the EXE. Another amazing thing is that the .RES generated by xMate (PellesC PORC.EXE) contains both the above said BMP and DIALOG. I wonder what is going wrong ?.

Any hint regarding the linking of .RES file to the EXE


The porc.exe will add .bmp to .res from compiling .rc as we know it. maybe your <file>.rc is not the same filename as you main <file>.prg ?


Regards,
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: CreateDlgError and ResEd Resource Editor

Postby anserkk » Mon Jan 05, 2009 10:40 am

Dear Fraxzi,

I am not able to recreate the same problem with another test project using xMate. The test project which I created to show you is working fine. :D

Anyway in my original project the problem is not yet resolved :roll:

Maybe your <file>.rc is not the same filename as you main <file>.prg ?

I re-checked it. But some of the images from the .RC file is getting displayed. As I said earlier, the only problem is with a 32 bit BMP and a dialog created using ResEd. When I check the .EXE with PellesC, only the above said resources are missing in the .EXE

I am going to delete the project file and re-create and test. Shall update you on this.

Screen snapshot of the AlphaBMP file World.Bmp (C:\FWH\BitMaps\AlphaBmp\World.Bmp) displayed on a ButtonBMP. folder The left hand side button is from disk file and the right hand side button is from resource file.
Image

Regards

Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: CreateDlgError and ResEd Resource Editor

Postby anserkk » Mon Jan 05, 2009 11:12 am

Dear Fraxzi,

Problem solved. I deleted the xMate Project and re-created it.
xMate will create certain folders by default in our project folder. xMate author has adviced not to delete these folders and has asked to leave as it is.

The folders created by xMate in our project directory are :-
Backup
Bin
Debug
Include
Lib
Obj
Resource
Source

I don't know how it happened, I found a .RES file copied inside the Resource folder and it was that .RES file getting linked to my EXE :shock: . I understand that if .RES file exists in the RESOURCE folder then xMate will link that .RES file with the EXE and ignores the .RES file compiled and generated in the project folder. I deleted the .RES file from the folder RESOURCE and everything worked as expected.

Anyway it is a good lesson. I am writing it down here so that it may be useful for beginners like me :D .

Thanks for your effort.

Regards

Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Re: CreateDlgError and ResEd Resource Editor (Solved)

Postby fraxzi » Tue Jan 06, 2009 12:19 am

Dear Anser,

I'm glad you did. Maybe xMate uses the first .res file found within the project's directory... :lol:

Anyway, that was a good experienced.


But the issue on bottonbmp on alphachannel has to be resolved..... FWH811 is not displaying the 32bpp alpha but have a look at this
great contribution http://www.fivewin.com.br/exibedicas.asp?id=924

Here's a good results:
Image

Regards,
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: CreateDlgError and ResEd Resource Editor (Solved)

Postby anserkk » Tue Jan 06, 2009 4:09 am

Dear Fraxzi,

FWH811 is not displaying the 32bpp alpha but have a look at this
great contribution http://www.fivewin.com.br/exibedicas.asp?id=924


This control is able to display AlphaChannels. Great

Regards

Anser
User avatar
anserkk
 
Posts: 1332
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

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