mixed-mode Questions
5
Solved
I launch my program in C#, which then calls some unmanaged C++.
When I break on a line in the unmanaged C++, the 'New Data Breakpoint' menu item is grayed out.
Is there anyway around this?
Brigantine asked 28/10, 2008 at 13:39
7
Solved
I wrote a class library in .NET 2.0 for database access some 2 years ago and have been using it all along on .NET 2.0, 3.0 and 3.5.
In the current project I'm working on (which is a .NET 4.0 appli...
Ahearn asked 5/7, 2010 at 11:17
5
Solved
I get this error message from time to time (not every time) I compile (EDIT: sorry, I didn't make myself clear here: I actually meant "rebuild") my mixed-mode project. And Visual Studio tells me to...
Alienism asked 20/7, 2016 at 11:17
0
I have a C#.NET Core Web application that uses some C++ code for certain operations.
This web application is running on Cent OS 8. (I am a Windows Developer and working on Linux for first time and ...
Sulfonation asked 23/8, 2020 at 9:3
1
I have a managed project (.net 4.6.2) which calls into a native dll. If I put a breakpoint in the native code, it hits it, but if I try to inspect stack variables I get a rather annoying
Inspect...
Exhibit asked 9/3, 2020 at 15:8
4
Solved
First of all, I've found the other posts on StackOverflow here, but it did not resolve my error.
I have 3 different environments/domains with a build server in each location. My Dev and UAT enviro...
Asbestos asked 11/2, 2013 at 15:17
2
Solved
I have a code base that uses a C++/CLI project which exposes C++ classes to the CLR via thin wrapper classes. For example...
C++ code in a C++ project
class Foo {
public Foo(bool wat) { /* do th...
Parr asked 9/4, 2015 at 17:26
4
Solved
I'm trying to debug a C# dll from a native C++ executable. I have a C# COM object that is loaded and run from native code via IDispatch. Everything is built in Debug, both C# and C++ code. Whilst I...
Coeternity asked 27/11, 2014 at 11:25
3
I am facing an exception in C++/CLI while dynamically loading assembly which itself creates an EXE in C++/CLI managed mode using Assembly.Load. It successfully loads a DLL assembly, but fails to lo...
Fantom asked 3/7, 2010 at 19:15
0
The Top answers here: What does 'useLegacyV2RuntimeActivationPolicy' do in the .NET 4 config? and What 'additional configuration' is necessary to reference a .NET 2.0 mixed mode ass...
Abran asked 7/4, 2016 at 18:47
3
Solved
I am having a problem with a C++/CLI mixed mode DLL that I created. It is throwing an exception when unloading as the .NET application that uses it exits. After DLL_PROCESS_DETACH is executed, the ...
Tangier asked 15/11, 2011 at 23:28
6
Solved
Like most of you probably know there exists plenty of different mechanisms to walk stack traces, starting from windows api, and continuing further into depth of magical assembly world - let me list...
Solferino asked 28/12, 2015 at 22:18
3
Solved
This is continuation to my previous question - phase 2 so to say.
First question was here: Fast capture stack trace on windows / 64-bit / mixed mode
Now I have resolved a huge amount of stack tra...
Souter asked 11/1, 2016 at 23:41
1
Solved
When a 3rd-party component is offered in both "mixed-mode assembly" and "separate interop dll" versions, what are the pros and cons of each?
A good example is System.Data.SQLite.
The above link h...
Saguaro asked 7/12, 2015 at 22:27
4
I was able to find several similar questions asked and answered, but none of the answers or exact conditions applied to my situation.
I have a .NET 3.5 project being built for x64.
I also have an...
Darya asked 14/11, 2012 at 6:45
1
I have a C# unit test in the Visual Studio 2013 test framework which exercises CLI and native code. I would like to investigate the native portion of the code while executing the C# unit test. Howe...
Sentimentality asked 25/12, 2014 at 20:21
3
Solved
I'm using Visual Studio 2012 and the .Net Framework 4.5
I have 2 Solutions: 1) WPF Application 2) Class library (dll)
The Class Library contains 3 buttons and a control that has to be inside a Win...
Jounce asked 24/1, 2013 at 18:53
4
Solved
I have a scenario whereby I require users to be able to authenticate against an ASP.NET MVC web application using either Windows authentication or Forms authentication. If the user is on the intern...
Bona asked 12/3, 2010 at 13:6
1
i have written a Win32/net DLL, it works fine under Win XP, Win7 and 8 but under Win 8.1 it fails.
Dependency Walker says: API-MS-WIN-CORE-KERNEL32-PRIVATE-L1-1-1.DLL not found
(user32.dll will ca...
Durrace asked 20/6, 2014 at 21:18
1
Does a utility for splitting a single .NET assembly into a subset of the full assembly exist? I.e. the "functional inverse" of ILMerge.exe?
This tool, of course, would be difficult to produce if i...
Marigolde asked 31/5, 2013 at 8:23
2
Solved
How can I send a managed object to native function to use it?
void managed_function()
{
Object^ obj = gcnew Object();
void* ptr = obj ??? // How to convert Managed object to void*?
unmanaged_...
Mylo asked 10/9, 2011 at 12:46
2
Solved
2012-12-09 Summary:
In a normal mixed-mode application global native C++ destructors run as finalizers. It's not possible to change that behavior or the associated timeout.
A mixed-mode assembly ...
Tourney asked 29/11, 2012 at 18:21
1
Solved
For my C++/CLI project I just tried to measure the cost of C++/CLI function pointers versus .NET delegates.
My expectation was, that C++/CLI function pointers are faster than .NET delegates.
So my...
Saith asked 18/11, 2012 at 18:35
4
Solved
Previously .NET SQLite libraries were available from http://sqlite.phxsoftware.com, but they have recently been taken over by the main SQLite team and have moved System.Data.SQLite Download Page. T...
Chuch asked 1/6, 2011 at 17:37
2
Solved
I'm currently wrapping a C++ class with C++/CLI for .NET interoperability following the standard process of holding a native pointer in a managed class. In one instance, I have a native class that ...
Miscreant asked 30/5, 2011 at 4:47
1 Next >
© 2022 - 2024 — McMap. All rights reserved.