unmanaged Questions
2
Solved
what exactly are un-managed and managed memory?
can anybody explain me in brief?
Also, what exactly would mean when the managed-memory concept is taken to RAM, calling managed-RAM. What are some o...
12
Solved
This question relates to an ASP.NET website, originally developed in VS 2005 and now in VS 2008.
This website uses two unmanaged external DLLs which are not .NET and I do not have the source code ...
4
Solved
I'm writting a program in c# that uses a C++ library, and for some reason I need to allocate an unmanaged buffer to pass it to the lib. Is there a way to do this in c# ?
Basically I would just need...
5
Our project structure is like,
native.dll :- This contains pure native code written in c\c++.
This native.dll exposes some functions using *def file.
Wrapper Library(wrapper.dll compiled with .N...
Monocular asked 25/8, 2016 at 8:14
7
Solved
I stumbled upon a tool that generates P/Invoke signatures for Microsoft's own unmanaged DLLs: PInvoke Interop Assistant
Is there a similar tool that will generate P/Invoke signatures for third-par...
Emmie asked 12/6, 2011 at 1:52
6
I am trying to create a Nuget package for a library that depends on ghostscript and therefore references gsdll32.dll - an unmanaged library. I can't just included that a standard dll reference. Whe...
Lutero asked 17/4, 2012 at 20:14
4
Solved
Until now I have just taken for granted that Marshal.SizeOf is the right way to compute the memory size of a blittable struct on the unmanaged heap (which seems to be the consensus here on SO and a...
6
Solved
I want to call my .NET code from unmanaged C++. My process entrypoint is .NET based, so I don't have to worry about hosting the CLR. I know it can be done using COM wrappers for .NET objects, but I...
6
I'm extending my Inno-Setup script with code that I can best implement in C# in a managed DLL. I already know how to export methods from a managed DLL as functions for use in an unmanaged process. ...
Clarkson asked 7/2, 2015 at 22:15
8
Solved
I want to know about unmanaged resources.
Can anyone please give me a basic idea?
7
Solved
A .NET application calls C dll. The C code allocates memory for a char array and returns this array as result. The .NET applications gets this result as a string.
The C code:
extern "C" __declspe...
Impatience asked 19/12, 2009 at 8:33
6
Solved
I using some old API and need to pass the a pointer of a struct to unmanaged code that runs asynchronous.
In other words, after i passing the struct pointer to the unmanaged code, the unmanaged co...
1
I have a webapp written in C#, based on ASP.NET.
It loads (with LoadLibraryEx) an unmanaged DLL written with C++Builder.
As I have performance issues I made some tests and comparisons, running alwa...
Orthoscope asked 17/7, 2020 at 15:22
9
I am writing a very high performance application that handles and processes hundreds of events every millisecond.
Is Unmanaged C++ faster than managed c++? and why?
Managed C++ deals with CLR ins...
Carmel asked 10/6, 2010 at 16:39
6
Solved
After seeing and listening a lot regarding managed and unmanaged code, and knowing the only difference is that managed is about CLR and un-managed is outside of the CLR, it makes me really curious ...
3
Solved
I am trying to make a DLL in C# for use in a couple other languages. I found RGiesecke's DllExport but it doesn't seem to work. It builds just fine and makes a dll, but when I open it in Dependency...
3
Everyone knows that ios making support for "performSelector" in swift2.0
I want to know how can get the performSelector return value?
let returnValue:Unmanaged<AnyObject> = (self.dataSource?...
Cuprite asked 2/11, 2015 at 11:9
1
Solved
I run for Dump File in WinDbg command
!address -summary
I results are something like this
Usage Summary RgnCount Total Size %ofBusy %ofTota
Free 3739 7ff5`dbbae000 ( 127.960 Tb) 99.97%
<unkno...
1
Solved
I was reading an article about how to use the sizeof operator in C#.
They say: "Used to obtain the size in bytes for an unmanaged type."
I know the difference between managed and unmanaged code. ...
5
Solved
How long is the typical overhead added by calling a .dll written in C++ from a C# application using the following syntax?
[DllImport("abc.dll", EntryPoint = "xcFoo", CallingConvention = CallingCon...
6
Solved
What is marshalling and why do we need it?
I find it hard to believe that I cannot send an int over the wire from C# to C and have to marshall it. Why can't C# just send the 32 bits over with a st...
Haarlem asked 10/2, 2010 at 22:23
1
Solved
Consider the following types:
(int, int) → managed.
struct MyStruct { public (int,int) Value; } → unmanaged!
Problem: A non-generic structure MyStruct, which has a managed member (int,int) has ...
13
Solved
I am using a specific command in in my C# code, which works well. However, it is said to misbehave in "unmanaged" code.
What is managed or unmanaged code?
Nat asked 2/12, 2008 at 15:31
1
I need to register a callback in unmanaged code, but it looks like GC keeps collecting my reference. So I added GC.KeepAlive(callback_pin); but it has no effect. I'm not sure where should I put GC....
Hydrophilous asked 23/10, 2018 at 15:24
6
Solved
In a regular C# application which class to use for hashing: xxxManaged or xxx (i.e SHA1Managed vs SHA1) and why?
1 Next >
© 2022 - 2025 — McMap. All rights reserved.