473,386 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Generating unmanaged C++ wrappers

Are there tools for automating the conversion of unmanaged C++ headers to
equivalent wrapper classes with metadata?

I've got a back-end library with no exposed inheritance, but the interface
classes are abstract and factory methods return the "real" internal
classes. I'd like to feed the DLL and public headers to a tool to
automatically generate .NET wrappers for customers using C# and VB to write
front-ends.
Jun 27 '08 #1
2 1963
Kenneth Porter wrote:
Are there tools for automating the conversion of unmanaged C++
headers to equivalent wrapper classes with metadata?
Why are you asking this on the C# group? You have unmanaged C++ code, you
need a managed C++/CLI wrapper...
>
I've got a back-end library with no exposed inheritance, but the
interface classes are abstract and factory methods return the "real"
internal classes. I'd like to feed the DLL and public headers to a
tool to automatically generate .NET wrappers for customers using C#
and VB to write front-ends.
Unless the native code implements COM, it will not be entirely automatic.
Jun 27 '08 #2
"Ben Voigt [C++ MVP]" <rb*@nospam.nospamwrote in
news:#V**************@TK2MSFTNGP05.phx.gbl:
Why are you asking this on the C# group? You have unmanaged C++ code,
you need a managed C++/CLI wrapper...
Sorry about that, I just found the C++ group, named vc. (The comp hierarchy
has separate C and C++ sub-hierarchies, and it didn't occur that the two
languages would be merged into one group here.)
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Marek Malowidzki | last post by:
Hi all, I am writing a component that exposes a C++ library as a .NET component. The approach is somewhat automatic: every library C++ class has its managed C++ counterpart that keeps a pointer...
10
by: Michel Walsh | last post by:
Hi, What is the "declaration" (class) I need to assert the permission that my code can run unmanaged code. I have: ================
2
by: joye | last post by:
Hello, My question is how to use C# to call the existing libraries containing unmanaged C++ classes directly, but not use C# or managed C++ wrappers unmanaged C++ classes? Does anyone know how...
0
by: Anna | last post by:
Hi, (Initial info: .Net 2003 on Win2000) I'm developing a .Net App that uses a dll (say, dll_1) created in VC6 and _successfully_ recompiled in .Net 2003 (unmanaged, no wrappers). The dll_1...
2
by: Bob Rock | last post by:
Hello, in the last few days I've made my first few attempts at creating mixed C++ managed-unmanaged assemblies and looking afterwards with ILDASM at what is visible in those assemblies from a...
1
by: Sparhawk | last post by:
Hi, my company is going to migrate a large VC++ application to .NET to make use of Windows Forms (the old class library is not updated any more). We are not planning to migrate the rest of the...
6
by: marek | last post by:
Hello All, we are doing a quite a big project that contains at the lowest level an unmenaged c++ classes. Above it there are managed wrappers and at the top there are ASP.NET pages. Can anyone...
6
by: Vijay | last post by:
Hi, I am faced with the following common managed/unmanaged C++ interop problem: - I have a .NET form that acts as a front end GUI to a processing engine in the background. The processing...
1
by: stillh2os | last post by:
Hello. I'm new to .NET, and I'm trying to implement a callback function. I want my managed C++ code to call an unmanaged function, passing in a callback function that the unmanaged C/C++ code...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.