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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T09:10:18+00:00 2026-05-26T09:10:18+00:00

I am working on C++/CLI Wrapper for C Static Library.Static Library has 10 function

  • 0

I am working on C++/CLI Wrapper for C Static Library.Static Library has 10 function in it.

THis C++/CLI Wrapper will Expose 10 API to C# Application.The Wrapper Will be in the Form of dll.

The Wrapper Will be Used in C# Application.

Now I am trying to add a class in C++/CLi application which will expose function to C# application I am getting Many Option like

  1. C++ Class

  2. CLR Class
    a. Component Class
    b.Installer Class
    c. Windows Form
    d. Installer Class

I am bit confused which I need to select out of it as I am new bee in C++/CLI

  • 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-26T09:10:19+00:00Added an answer on May 26, 2026 at 9:10 am

    You need a

    CLR Class – Component

    since it can be consumed by .NET clients.
    CLR class is declared as follows

    ref class Wrapper {....}
    

    However in your scenario you could also write a dynamic library and pinvoke the methods from .NET client.

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

Sidebar

Related Questions

I'm working on a project where a c++/cli library is being used primarily from
I'm working on a CLI application that deals with uploading of files, and would
I'm working on an online PHP application that has a need for delayed PHP
I'm new to Ruby and am working on a CLI application that parses some
I'm working on a mixed managed/native application using c++/CLI. I know that the CLR
I am working with C++/CLI for C Library. I explored in the net about
I'm working on a project where a mixture of C# (95%) and C++/CLI (5%)
I've been trying to get started with unit-testing while working on a little cli
I'm currently working on a CLI app in Ruby, I'm using Trollop ( http://trollop.rubyforge.org/
I am working with mixed mode assemblies in C++/CLI. All managed mode assembled pdb's

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.