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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:30:11+00:00 2026-05-13T22:30:11+00:00

I have been away from BCB for over five years, and now I am

  • 0

I have been away from BCB for over five years, and now I am having a st00pid n00b moment.

I am using BCB, and using a VCL component package for which I have the Delphi source.

I want to comment out a few lines in the Delphi source of the component (to not add a few toolbars in a form’s OnCreate()).

So, I comment it out, and the syntax highlighting shows it as a comment. I build my package, just to make sure it gets recompiled and my out-commenting didn’t work.

I breakpoint on the line before, step and the code which is commented out in the edit is executed (as if it is picking up an old OBJ ?).

What’s my checklist here?

The answer will be awarded to whoever leads me to that D'oh! moment. Thanks

  • 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-13T22:30:11+00:00Added an answer on May 13, 2026 at 10:30 pm

    Well you’re obviously linking to old code. You’ll need to figure out what you’re linking against and fix it.

    1. Does your application list the Delphi package in it’s “Build with runtime packages” list? If so, you’re linking to the code in the delphi package, re-build that. The file you’re interested in is the “BPL” file (that’s the file you need to rebuild). Sometimes packages automagically build themselves (if they’re marked as “Always Build”) – but you’re talking about an Delphi package used by BCB, maybe the magic is not that strong.

    2. If you are not linking to the BPL then you’re linking to the compiled version of the unit, a DCU or an OBJ, I don’t work with BCB so I can’t tell. Is the PAS file part of your project? If it’s not part of your project then you’re using the compiled unit and, as far as the IDE is concerned, you happen to be looking at a text file that has the same name as your compiled file (DCU or OBJ). Add the file to the project!

    3. Is BCB actually capable of compiling PAS files? If it’s not then you’d need to compile the PAS file using it’s native compiler (Delphi). Maybe you’ve got a C++ only BCB that can’t compile PAS files? Not sure such a version exists, but then again I’ve only been exposed to Delphi-only or RAD Studio environments.

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

Sidebar

Related Questions

I have been away from C++ for a couple of years now doing AS3/Flex
I've been away from marking up sites for some time. So, now we have
I have been trying to move away from using DECODE to pivot rows in
I have been using Python for about a year now, coming from a mostly
I've been away from web design/development for a long, long now and have recently
I'e been programming Java forever, but have been away from it for a while.
I have been looking for a way to remove an attachment from Jira using
I have been away from actionscript for a long time and not 100% why
i have been working on moving one of my apps away from the shared
Hey all, I have been away from rails for a while and have been

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.