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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:57:58+00:00 2026-06-11T15:57:58+00:00

This is not as much a programming question, as it is a configuration thing.

  • 0

This is not as much a programming question, as it is a configuration thing.

I’ve got an EXE that was written in Delphi. Not mine. I can run it directly from a shortcut, and it runs fine. If I try to set up a Scheduled Task, it crashes every time with an

Access Violation at [hex address] in module [file]. Read of address
00000000

This happens whether I run the task, or let the schedule run the task.

Now the fun part.
This happens on Windows 7 32bit.
It runs fine in the task scheduler on WindowsXP.

I’ve enable DEP, and set compatibility to XP sp3. I set the Scheduler service to Interact With Desktop even though it isn’t really available in 7.

The user that is set up for the task is the same user I am logged in as.

The program is set to run only when user is logged in, as it has a UI component

I am willing to try anything, as the vendor responsible for this only tells me It should work fine and all the other items that we use from them do run with out any crashes.

EDIT : Adding some requested information:
1. If it was a service, it wouldn’t need Task Scheduler. Is it regular GUI that does bar code scanning of documents stored in a database.
2. The vendor is as stuck as I am. And is unwilling to put in a lot of effort to fix this. We’re moving away from them this year so it may end up as a moot point.

  • 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-11T15:57:59+00:00Added an answer on June 11, 2026 at 3:57 pm

    The error address in your message (Read of address 00000000) is a null pointer exception. In Delphi, it typically happens when you try to access an object instance (for instance, a component) before it’s created.

    Other than that, you’ve given no information that can be used to help you solve the problem. You’ve provided no information about the type of application (service, regular GUI application, console application) other than the fact it is written in Delphi, has a UI component (which services prior to Vista were allowed to have) and that it’s being started by Scheduler. You’ve information about what it does, or any other details about the application itself, which might be helpful.

    Send the vendor a screen capture of the error dialog, and ask them if it looks like it “works fine”. Recommend that they invest in an exception handling package like MadExcept or EurekaLog that will give them a stack trace in a readable format that you can send them so they can use it to track down the problem. If they’re not willing to do that, find a new vendor.

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

Sidebar

Related Questions

For starters, this question is not so much about programming in the NetBeans IDE
This question is not so much programming related as it is deployment related. I
This is not programming related as much as it is software engineering related. I
I thought I would post this here not so much as a question but
Not much to say about this question...
This not a programming question but Most of the programmers using Eclipse should have
My problem is not so much a programming question but figured someone here could
I guess this is a math question and not a programming question, but what
First of all, I'm not much of a programmer if at all. This question
HI, O.K, not technically a programming question but it's still relevent for this forum

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.