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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T10:25:35+00:00 2026-05-18T10:25:35+00:00

In our company we’re using a plugin system that I’ve written using QT plugin

  • 0

In our company we’re using a plugin system that I’ve written using QT plugin system.
Each plugin has “needed functions” and “own functions” so, if a plugin needs a function called *func_1*, there must be a plugin that has a function called *func_1*.

This works great, but now I have a problem: a plugin needs to know the pointer to a certain class object that another plugin uses but that is external. I cannot put any kind of information about this class in the plugins interface as it has nothing to do with it.

The only solution I have, is to write a interface function with which I can pass void pointers, but I’d like to know if there’s other solutions maybe less C style.

Thanks in advance.

  • 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-18T10:25:35+00:00Added an answer on May 18, 2026 at 10:25 am

    The modern C++ “replacement” for a void-pointer is something like Boost.Any. It’ll allow you to pass anything through the interface, and still gives you a certain type-safety.

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

Sidebar

Related Questions

Our company has a point of sale system with many extras, such as ordering
My company has decided that we need a generic demo infrastructure for our technology
I'm in a position where our company has a database search service that is
Our company uses an app that was originally ColdFusion + Access later converted to
Our company has for many years had multiple domain names to protect our product
Our company has thousands of PDF documents. How do we create a simple search
our company has made a website for our client. The client hired a webs
our company is trying to increase software quality by enforcing minimum function coverage on
At our company, we use a base ant file that is included by everyone
Our company is currently writing a GUI automation testing tool for compact framework applications.

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.