mixed-mode

How can I debug into an unmanaged BCL (InternalCall) method?

I want to debug into the implementation of a [MethodImpl(MethodImplOptions.InternalCall)] BCL method, which is presumably implemented in C++. (In this particular case, I'm looking at System.String.nativeCompareOrdinal.) This is mainly because I'm nosy and want to know how it's implemented. However, the Visual Studio debugger is refusing...

IIS 7.5 and mixed-mode authentication (single sign on)

Has anyone managed to achieve this? Application should work like this: App admin can add AD users App admin can define users not from AD If user is added from AD and trying to access to application from same AD - application should log him in automatically (single sign on). If user is not from AD, or not added as application user - ap...

Why native C++ Win32 DLL does not working properly in C++/CLI managed code?

Hello, I have native C++ DLL code to call from C++/CLI functions. It's not working properly. I am copying those areas of code here which causing problems. Note: I made native C++ stub and called that native dll's functions and it worked fine as per context. Native C++ DLL: void ExecutorFactory::GetTESService(string a_strFileToProce...

Linking unmanaged C++ DLL with managed C++ class library DLL

As in the question Creating simple c++.net wrapper. Step-by-step I am tring to use C++ classes in .NET but I am having problems building in Visual Studio (2008). I have an unmanaged class A (C++ compiled with /clr). I created a C++/clr class 'Class1' which wraps A and with matching method delegates to A's methods. If I include class ...

How to Marshall C++ Native Objects to Managed C++ CLI

Hello, I have bunch of native C++ objects and classes contains DTL maps, maps of maps and lists and vectors. I need to call managed C++ functions from C++ native code and need to pass these native objects and STL containers(lists,maps , maps of maps) to C++/CLI. It needs to marshal or some how serialize these objects. How can I do that...

pin_ptr a native void* help

The Setup I have a PDF API which has a native function that is defined below. typdef void* PDF_DOCUMENT; unsigned long PDF_GetMetaText(PDF_DOCUMENT document, const char tag, void* buffer, unsigned long bufferlen) //Calling it "natively" in C++/...