| View previous topic :: View next topic |
| Author |
Message |
softwarea Member
Joined: 02 Dec 2003 Posts: 3
|
Posted: 02/12/03 17:12 Post subject: Assistant 3.23: EResNotFound BULBGLYPHS256 |
|
|
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 |
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 230
|
Posted: 02/12/03 19:25 Post subject: |
|
|
| I think the oaStage.res file is either missing or corrupted. |
|
| Back to top |
|
 |
softwarea Member
Joined: 02 Dec 2003 Posts: 3
|
Posted: 02/12/03 19:33 Post subject: |
|
|
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 |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 230
|
Posted: 03/12/03 18:00 Post subject: |
|
|
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 |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 230
|
Posted: 03/12/03 20:08 Post subject: |
|
|
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 |
|
 |
softwarea Member
Joined: 02 Dec 2003 Posts: 3
|
Posted: 04/12/03 19:51 Post subject: |
|
|
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 |
|
 |
|