For Programmers: Free Programming Magazines  


Home > Archive > C# > September 2005 > ways/tools to use c++ header files in c#?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ways/tools to use c++ header files in c#?
weixian_shen@yahoo.com

2005-09-12, 6:58 pm

I need to make use of my previous workin C++. This involves very
complex data structure, over 5000 lines of data structure defined in
headers. Is there an easy way to convert those headers into C#?

bart_deboeck@hotmail.com

2005-09-20, 7:02 pm

Hi,

You don't have to convert headers, try using interop/invoke :
http://msdn.microsoft.com/library/d...lfunctions.asp.
If you can't create the prototypes in managed code manually, check
http://www.swig.org/.

succes,
Bart

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com