Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Browsing all 1710 articles
Browse latest View live

The simplest way to generate minidump for mixed managed & unmanaged stack?

I am looking for ways of generating minidump for mixed managed & unmanaged stack.dgbhelp.dll provides functions for writing minidumps, but I didn't see any evidence about it  could still work for...

View Article


Profiler API - Locks, Threading.Monitor.Enter and Exit

I'm using the Profiler API in a project in order to track the locks made using Monitor.Enter, Monitor.Exit, and the lock keyword. I planned to do this by outputting using a pipe, the events from the...

View Article


Image may be NSFW.
Clik here to view.

AppDomain.CurrentDomain.Evidence throws SerializationException

I got a strange error when running my test cases using ReSharper (8.2.2) with VS 2013.My application does the following:1) Set a custom object (it is serializable) in a slot on...

View Article

Release COM+ object

I have COM+ server component written in C# that is consumed by a C# WPF client, All the COM components are registered on the Client machine, I am able to create an instance of COM component and call...

View Article

Image may be NSFW.
Clik here to view.

Error-System Type Initialization Exception occured in system data dll

 hello sir,             because of transferring my project from one pc to another pc i am getting following error:error massage:first chance exception of type 'System.TypeInitializationException'...

View Article


Digital certificate import

I need to programmatically import a digital certificate (.PFX) into Windows 7 and apply specific security settings.  When opening a digital certificate the third page of the “Certificate Import Wizard”...

View Article

Random AppCrashes in clr.dll with .NET 4.0

Hi Everyone !We are developing a 100% managed .NET Application/C# that consists of several Windows-Services and Client-Applications. Until April 2010 the Target was .Net 3.5 SP1. Meanwhile we converted...

View Article

Calling a c# function with a ref parameter to a struct

public struct TestStruct { public bool Value; } public class Functions { void Flip(ref TestStruct testStruct) { testStruct.Value = !testStruct.Value; } }I'm trying to call the from c++ like...

View Article


System.Security.VerificationException: Operation could destabilize the...

I have a unit test that basically does the following:Creates an app domain using minimum priviledges.  The MarshalByRefObject that is living in the app domain, loads another assembly to execute.  This...

View Article


The System is inaccessible some settings may not be available: Invalid pointer

Hi All, I have configured my Runtime.exe in 3 machine(A,B,C). Runtime.exe contains,a) Runtimeb) Admintoolc) DBmigrate(DB) so, i have configured like m/c 'A' --> Admintool.msc      m/c 'B' -->...

View Article

Profiling .Net using ILRewriting - Error : Cannot call security safe critical...

Hi,I am researching on profiling .NET web applications using IL rewriting.I am injecting the C# function call(resides in assembly) to the functions in running web application before the JIT compilation...

View Article

Profiling ADO.NET calls - Connection String , Command and Execution Time

Hi, I am researching on profiling .NET web applications using IL rewriting. I am injecting the C# function call(resides in assembly) to the functions in running web application before the JIT...

View Article

.Net Framework

I am totally new in the development world but have read a lot of native C++ and want to Enter C# and C++/CLI.I am using windows 8. I have installed Visual Studio 2010 Ultimate. After reading about...

View Article


Image may be NSFW.
Clik here to view.

Exclamation Mark

Hello. How to remove this mark

View Article

FIX: "Faulting module name: clr.dll"

Hi,I have recurring problem with one of our windows services developed in .NET 4.0 that runs on x64 Windows Server 2012. It runs all the time and crashes around once per 1-2 days. We got an error:"The...

View Article


ILRewriting : The process was terminated due to an internal error in the .NET...

I am trying to inject my helper function definitions that resides in a security safe critical assembly from unmanaged code during JITCompilationStarted callback function. I use...

View Article

Force my app to use my dll and no the one in the GAC

Hi all, I have an application and I am using a specific version of a dll. (In my case Oracle.DataAccess.dll v9.2) when I install my app in my machine all works well, but when I deploy the application...

View Article


.Net Profiler : Accessing Class properties from Object ID got from...

Hi ,By setting an appropriate Event mask in icorprofiler interface i am getting the ObjectAllocated(..) call back function to my profiler. From that function arguments i am able to get the object ID...

View Article

Is there difference between ++i and i++ for C#

I read at C++ FAQ that ++i is better than i++ for C++.Is there difference between ++i and i++ for C# ?

View Article

CLR learning

Hello,i need to know the best way (Tutorials, books...) to learn the CLR, CLR development, thanks.Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

View Article
Browsing all 1710 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>