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 8579205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:33:45+00:00 2026-06-11T20:33:45+00:00

My code is written in Delphi 7, but I don’t think it plays a

  • 0

My code is written in Delphi 7, but I don’t think it plays a particular role.

I try to overwrite the content of a file with WriteFile.
It works perfectly except when writing a “.dll” file and antivirus is active.

  • Opening the handle to the file is still OK.
  • writing is blocked : WriteFile function does not RETURN !!!

The antivirus seems to prevent from overwriting in that dll.
But, the worst is that I have to reboot the PC because my app is blocked, task manager is blocked, Windows Explorer is blocked, etc.

How can I prevent this ?

Any ideas ?

  • 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-06-11T20:33:46+00:00Added an answer on June 11, 2026 at 8:33 pm

    If you add digital signiture to the your executable, there is a less chance triggering the anti-virus. A lots delphi programs are mis-targeted by anti-virus software, D7 is worst.

    Not sure what you are trying to write to a dll. Anti-virus don’t like extra data outside PE.

    If you just need to update a dll, try rename the old dll, and write a new file, delete the old afterwards.

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

Sidebar

Related Questions

I written an asm function in Delphi 7 but it transforms my code to
I'm often having code written as follows try: self.title = item.title().content.string except AttributeError, e:
I have a program written in Delphi XE that plays a WAV file using
I have following code written to run NSTimer . But the NSTimer selector is
NOTE: This question is written in a C# like pseudo code, but I am
I have written a recursive Tree Function in pascal ( or delphi ) but
I am just upgrading some old code written in Delphi 6 to Delphi XE2.
I have written a below code in Delphi XE2. var stream : TStringStream; begin
In delphi written code: result = (Image1.Canvas.Pixels[i, j] and $000000ff); what it is mean?
I've sometimes seen code written like this : public class B1 { } public

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.