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 ArticleProfiler 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 ArticleAppDomain.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 ArticleRelease 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 ArticleError-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 ArticleDigital 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 ArticleRandom 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 ArticleCalling 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 ArticleSystem.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 ArticleThe 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 ArticleProfiling .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 ArticleProfiling 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 ArticleFIX: "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 ArticleILRewriting : 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 ArticleForce 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 ArticleIs 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 ArticleCLR 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