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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:40:07+00:00 2026-05-28T03:40:07+00:00

I have written a system that registers metadata for a class when initiating a

  • 0

I have written a system that registers metadata for a class when initiating a static bool.

For example :

   bool CreateMetaDataForTestClass() {
     // Registration of metadata
   }

   static bool initBoolForTestClass = CreateMetaDataForTestClass();

The system works great.

There is a problem, however. I can create classes using strings from config files. If I have a situation where a class I want to use is never included in any files, the compiler seems to ignore the files, and consequently NOT initiate my static variable and not register my class.

If I’m lucky – Is there a compiler switch that solves this problem?

I would like to NOT have to include those files, as it is kind of the point of the system – to have zero integration with the engine as the class registers itself automatically.

  • 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-28T03:40:08+00:00Added an answer on May 28, 2026 at 3:40 am

    At some point you need to tell the system which classes are available. If you want to have a statically linked executable, you will have to specify all object files linked into the executable. When you want to specify the available classes only at run time you will need to provide some sort of configuration (e.g. by searching a particular directory or a file listing the objects) for shared objects your program needs to load. It won’t just be magically there.

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

Sidebar

Related Questions

I have written a control in C# that derives from System.Windows.Forms.Control. I have added
We have an automatic reporting and notification system written in .net that sends emails
I have a class library written in .Net that I would like to make
I have written a Custom Control that contains the following: [assembly: System.Web.UI.WebResource(InSysControls.AssignmentLists.AssignmentLists.js, text/javascript)] namespace
this is a working example of a plugin that I have written for CRM
I have written a system that sends HTML marketing emails to a list of
We have a system that is largely written in PowerBuilder 11.5 and we are
I have written the following IronPython code: import clr clr.AddReference(System.Drawing) from System import *
I have a quite old templating system written on top of ERB. It relies
I have been attempting to enhance my GUI system written in Java to use

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.