Assistant 3.23: EResNotFound BULBGLYPHS256

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

Assistant 3.23: EResNotFound BULBGLYPHS256

Postby softwarea » December 2nd, 2003, 5:12 pm

Hi,

I get an EResNotFound exception while running my application.

constructor THintBulb.Create(AOwner: TComponent);
var
TmpBmp: TBitmap;
begin
inherited Create(AOwner);
Glyphs := TBitmap.Create;
Glyphs.LoadFromResourceName(hInstance, 'BULBGLYPHS256');
--> SetBounds(0, 0, Glyphs.Width div 4, Glyphs.Height);
TmpBmp := TBitmap.Create;
try

The error occurs in the --> so marked row above of unit oaStage.

I'm using Delphi 7, Office Assistent 3.23 and Win98(!)
The last one may be the real reason, because the error does not(!) occur on Win2000 or XP. But unfortunately Win98 is my target platform.

I hope anyone has a good idea :-)

Thanks
Ingmar
softwarea
Member
Member
 
Posts: 3
Joined: December 2nd, 2003, 5:04 pm

Postby Kambiz » December 2nd, 2003, 7:25 pm

I think the oaStage.res file is either missing or corrupted.
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby softwarea » December 2nd, 2003, 7:33 pm

No no, the same application is running on Win2000 and Win XP.
So, the oaStage.res is existent!
And: I can open it without problems in Delphis PictureEditor.

As an alternative I saved the resource as bitmap and used
Glyphs.LoadFromFile('.... instead of Glyphs.LoadFromResourceName(...

This seems to work, but I get system crahes later on in the application (but these may be due to other reasons).

So, I have a workaraound, but I'm still interested, why this is not working properly under Win98...?
softwarea
Member
Member
 
Posts: 3
Joined: December 2nd, 2003, 5:04 pm

Postby Kambiz » December 3rd, 2003, 6:00 pm

Today I tested the last version of the Office Assistant package on Windows 98.

Apparently there is no problem regarding to the glyph resource. However, I found a serious problem (system crash) on showing the modal balloons. :(
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby Kambiz » December 3rd, 2003, 8:08 pm

I fixed the issue regarding to the modal balloons and the new release is available to download.

Now, the demo application works on Windows 98 with no problem.
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby softwarea » December 4th, 2003, 7:51 pm

Hello Kambiz,

yes, this looks much better. I still have the EResNotFound Error, but with my workaround (LoadFromFile) it seems, as if my application is stable even under Win98.

Thank you very much for testing and debugging again!!!!!!

Ingmar
softwarea
Member
Member
 
Posts: 3
Joined: December 2nd, 2003, 5:04 pm


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 1 guest

cron