Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / April 2008

Tip: Looking for answers? Try searching our database.

Generating unmanaged C++ wrappers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kenneth Porter - 29 Apr 2008 03:56 GMT
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.
Ben Voigt [C++ MVP] - 29 Apr 2008 23:45 GMT
> 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.
Kenneth Porter - 30 Apr 2008 07:55 GMT
> 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.)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.