Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5997727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:18:18+00:00 2026-05-23T00:18:18+00:00

I have Encrypted->Decrypted images and draw it to canvas. i got no error when

  • 0

I have Encrypted->Decrypted images and draw it to canvas.

i got no error when assigning it to jpg(TJpegImage)

DecryptJepegImage(PWordInfo(FWordList[i])^.Image, jpg); // No errors here

but i got errors when im going to draw it to canvas.

bmp.Canvas.StretchDraw(Rect(0, 0, bmp.Width, bmp.Height), jpg); // says Access violation!

My question is how to determine if it has damage so that i could use alternative Image or pics in it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T00:18:19+00:00Added an answer on May 23, 2026 at 12:18 am

    That’s not really enough information to go on. The one thing that I can be pretty sure of is that it’s almost certainly not caused by damage to the encrypted image. Access Violation means invalid memory access somewhere. Either you’re dereferencing a pointer that’s nil, or you’ve got corrupted memory.

    Just going by my gut reaction, the first thing I’d check is that whatever you’re doing with pointer casting in the first line is correct. Pointer errors are a frequent source of access violations.

    Also, is this a nil pointer error or a corrupt pointer error? You can tell by the address in the access violation. If either one starts with a bunch of 0s (or in rare cases, a bunch of Fs) then that means you’re dereferencing a nil somewhere. Make sure that bmp and bmp.canvas are assigned. But if the addresses both look like valid memory addresses, then you’ve got memory corruption. That’s harder to track down, and you’ll have to spend some quality time with the debugger.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a bunch of messages in encrypted and decrypted form using Blowfish with
We have a stored procedure that returns DB encrypted columns decrypted via DecryptByKeyAutoCert(). This
I have an encrypted XML file that needs to be decrypted and displayed in
I have a file dsn containing encrypted password. I need to get the decrypted
I have a string encrypted in PHP that I would like to decrypt in
I have an script that receives an encrypted url and from that generates a
I have some char() fields in a DBF table that were left encrypted by
I have this query in sql server 2000: select pwdencrypt('AAAA') which outputs an encrypted
I would like to have the authentication and registration parts of my website encrypted
Have you ever seen any of there error messages? -- SQL Server 2000 Could

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.