DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Assistant 3.23: EResNotFound BULBGLYPHS256

 
   Reply to topic    DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
softwarea
Member


Joined: 02 Dec 2003
Posts: 3

PostPosted: 02/12/03 17:12    Post subject: Assistant 3.23: EResNotFound BULBGLYPHS256 Reply with quote

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 Smile

Thanks
Ingmar
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 230

PostPosted: 02/12/03 19:25    Post subject: Reply with quote

I think the oaStage.res file is either missing or corrupted.
Back to top
View user's profile Send e-mail Visit poster's website
softwarea
Member


Joined: 02 Dec 2003
Posts: 3

PostPosted: 02/12/03 19:33    Post subject: Reply with quote

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...?
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 230

PostPosted: 03/12/03 18:00    Post subject: Reply with quote

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.
Back to top
View user's profile Send e-mail Visit poster's website
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 230

PostPosted: 03/12/03 20:08    Post subject: Reply with quote

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.
Back to top
View user's profile Send e-mail Visit poster's website
softwarea
Member


Joined: 02 Dec 2003
Posts: 3

PostPosted: 04/12/03 19:51    Post subject: Reply with quote

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
Back to top
View user's profile
Display posts from previous:   
   Reply to topic    DELPHI AREA Forum Index -> DELPHI AREA's Products All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2.0.6 © 2001, 2002 phpBB Group