Hello Andrew,
many thanks for your quick answer and especially for your hint to your "Bitmap memory overview".
I have learned a lot from it!
Using the new version of your DLL with the Create and Release methods my little B4PCC exercise runs without any problems and so I can start a somewhat greater project.
Sub App_Start
Form1.Show
Sip(False)
ftp.New1
ftp.Open("ftp.softronics.ch","hlgast","hlg001")
ftp.SetCurrentDirectory("public")
bmpex.New2(220,175)
For n = 1 To 3
fn = n & ".jpg"
ftp.GetFile(fn,AppPath & "\tmp.jpg")
bmpex.Create1(AppPath & "\tmp.jpg")
Image1.Image = bmpex.Value
Image1.Refresh
Sleep (1000)
bmpex.Release
FileDel(AppPath & "\tmp.jpg")
Next n
End Sub
Thanks again.
Best regards
Horst
Germany