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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:59:48+00:00 2026-06-15T14:59:48+00:00

Delphi 6 Prof. We have many applications. The programs have 8-12 MB size. In

  • 0

Delphi 6 Prof.

We have many applications. The programs have 8-12 MB size.

In this period we many times got reports about “Invalid stream format” errors.

We use shared Windows (or Linux) folders to store the applications, and users running them from these directories with links.
This meaning that OS is paging the files, and loading the needed parts only.

Formerly we got C000006 exceptions.
As I know this meaning that the file paging (loading) failed on any network problem (timeout, etc).

Now we face with “Invalid stream format” errors, and “invalid property xxxx” errors.

If I know well, both error caused by “paging problem”, but C06 happens in code, and stream error in the data area of the Exe.
But maybe I know wrong…

Anyway the problem is strange. Sometimes we got it, sometimes we not.

How to avoid it? These errors prevents the users to create new dialogs, to use the programs…

(In other place the user used wifi – then we got same side effects.)

Maybe you have any idea how to prevent, avoid this problem.

UPX (vs. Antiviruses)?
Copy the exe-s to local place?

The system administrators of this customer are “our enemies”, because they said: “everything is ok”. The source of the problem isn’t identifiable…

Thanks for every idea: dd

  • 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-15T14:59:49+00:00Added an answer on June 15, 2026 at 2:59 pm

    Assuming your analysis is correct, and the problem is that the executable is located on a network drive with a flaky connection, then there is a solution. You need to add PE flags to your executable that forces Windows to copy the file from the network to the local machine before running it.

    Make sure that your .dpr file’s uses clause includes the Windows unit. And then add this line:

    {$SetPEFlags IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP or IMAGE_FILE_NET_RUN_FROM_SWAP}
    

    just before the begin in your .dpr file. We added the Windows unit so that the two constants would be recognised.

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

Sidebar

Related Questions

I search for a solution. We have Delphi 6 Prof on Win7/X64. When I
In Delphi we have an option to do a thing like this: TClass1 =
Delphi 2010 Windows 7 - 64 bit. I have an app which is reasonably
Not too long ago my Delphi 6 prof has worked well (1-2 months?). But
Delphi 2009, among some cool stuff, has also just got Anonymous methods. I've seen
Delphi components have CreateWnd and CreateWindowHandle (and DestroyWnd and DestroyWindowHandle ). They're both intended
Delphi 2009 uses build configurations . When you create a new project you have
Delphi 2007. I have a TGrid with more rows than will fit on the
Delphi 2006, whenever started afresh, loses component package. This happens on a daily bases.
Delphi Xe2. Listview (Lv1) with the big list items. Lv1 have standart compare procedure

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.