Jump to content
Sign in to follow this  
Borut

Graphics32 in RAD 11 (problem with opening bmp)

Recommended Posts

Hello,

I try to use graphics32 package for Delphi11. I compiled GR 32 RD110 and GR 32 DD110 and installed GR 32 DD110. I can find components in Palette.

But when I drop TImage32 on Form1 and after compiling try to open file with a button click ( I am using C++ builder) :

 

void __fastcall TForm1::Button1Click(TObject *Sender)
{
Image321->Bitmap->LoadFromFile("Miki.bmp");
}

I first get:

Access violation in module rtl280.bpl  ( If I uncheck link with dynamic RTL, this message disappears)

 

but then:

I get access violation at some address, which prevents loading the bitmap.

 

If I try the same in Delphi11:

 

procedure TForm1.Button1Click(Sender: TObject);
begin
Image321.Bitmap.LoadFromFile('Miki.bmp')
end;

end.

 

it normally opens the bitmap.

 

Can you give me any advice to overcome the trouble?

Borut

Edited by Borut

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×