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

  • Home
  • SEARCH
  • 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 113721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T02:44:49+00:00 2026-05-11T02:44:49+00:00

One of the problems I often run into, is that I will include ‘

  • 0

One of the problems I often run into, is that I will include ‘Windows‘ in my uses clause, and then I will later add ‘JwaWinBase‘ for some specific calls.

However, many of the functions in the ‘Windows’ unit are the same as in JwaWinBase, and I start getting errors in my main unit, all over the place, until I fix all my calls by pre-pending the correct unit name, like this:

Old:

  • CreateProcessAsUser(…)

New:

  • Windows.CreateProcessAsUser(…)
  • JwaWinBase.CreateProcessAsUser(…)

What I want to know, is if there is a way to have the unit name automatically pre-pended to every call to a function in another unit? This way, before I added JwaWinBase to my uses clause, I could have the ‘Windows’ unit name pre-pended to any function calls. Then adding JwaWinBase wouldn’t give me any errors.

I’m currently using Delphi 2007.

  • 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. 2026-05-11T02:44:50+00:00Added an answer on May 11, 2026 at 2:44 am

    There isn’t.

    However, the function calls are handled in the reverse order they’re in the uses clause, so that if you have this:

    uses   Windows, JwaWinBase; 

    … it will call Jwa functions by default. However, if you reverse them:

    uses   JwaWinBase, Windows; 

    … it should call the Windows functions by default, and you can preface your Jwa functions as required.

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

Sidebar

Ask A Question

Stats

  • Questions 68k
  • Answers 68k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Update: I am using it in the implementation .cpp of… May 11, 2026 at 12:15 pm
  • added an answer Here is an MSDN article, how to 'Customize your open… May 11, 2026 at 12:15 pm
  • added an answer Possible causes . Incorrect MANIFEST Did you follow all the… May 11, 2026 at 12:15 pm

Related Questions

One of the problems I often run into, is that I will include '
I often run into the problem that I have one stream full of data
One of the problems I have come across having complex tasks on the browser
I'm having some problems displaying the contents of one NSArrayController in two windows defined
This is one of the minor CSS problems that plague me constantly. How do
When writing multithreaded applications, one of the most common problems experienced is race conditions.
When writing multi-threaded applications, one of the most common problems experienced are deadlocks. My
This is probably one of the most common tasks / problems when programming; You
Where should one go to be kept updated on all of the security flaws/problems
Some of you may recognize this as Project Euler's problem number 11. The one

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.