I have never written a DLL with managed C++, and a sample will help me
lots. Could anybody please recommend me a link?
Thank you!
1. HOW TO: Call a Managed DLL from Native C++ Code sample
2. Managed C++ exe =to=> Managed C++ DLL
3. Sample of Unmanaged C++ code calling Managed C++
Does anyone have a simple "Hello World" like application that demonstrates unmanaged C++ calling managed C++ developed in VS2005? I'm confused by many posts as they discuss managed extensions from VS2003, and related techniques. I have found managed to unmanaged technique very easy in VS2005, but have not been able to build anything with unmanaged to managed calls. I have legacy (unmanaged C++) that would like to leverage the .NET framework; I'd like to build a managed utility DLL that my unmanaged code can call. How about this approach?
4. Looking for education materials of developing C++ application with Eclipse - Java
5. Wrap old C DLL in new unmanaged C++ / Managed C++ DLL
I have an old C DLL that I want to access via C#. I'm doing this via an outer DLL that wraps the old C DLL in an unmanaged C++ class, which is in turn wrapped in a Managed C++ class. Both these unmanaged C++ and managed C++ classes are compiled into a single assembly (DLL) that is accessed by C#. [C DLL] <--> [Unmanaged C++ / Managed C++] <--> [C# app] old dll new C++ assembly app I don't want to use standard Interop methods. I'm trying to do all the direct access to the old C DLL with unmanaged C++. The data types in the old C DLL are relatively complex, so I'm encapsulating the cluttered legacy stuff in the new unmanaged C++ class. IOW, I'll usually only be passing ints and a couple strings between the unmanaged and managed sides. In general, this approach works, but I'm getting occasional runtime errors that I can't explain. Could someone post or refer me to a very simple example that does this with even a single function? Say, take a function from a stock Windows DLL and show a correct unmanaged C++ class and managed C++ class that will wrap it correctly. Thanks for any insights you can provide.
6. How to develop managed C++ app in VS.net 2003
7. developing managed c++ library
Hi, I try to develop a .Net class library using managed c++ and have several problems: - If I use operator new, I get a linker error because operator new is missing. Searching the web I found out, that this is a well known problem which has to do with the initialization of the C/C++ runtime libraries. The proposed workaround looks not very promissing. But why would somebody use managed C++ is you could not use common C++ features? - I develop a library to work with AVI files. If I include windows.h and wfw.h in different source units, I get a linker error concerning metadata. Searching the web I found out that the reason seems to be, that structures with the same name are defined twice with differnt layout. How could this happen if I use standard include files? Could somebody help? At the moment, managed C++ makes no sense at all to me. regards, Achim