Obtaining debug symbol (PDB) files for .NET Framework 4.5.2
Hello,It seems that Microsoft forgot to publish the debug symbol files for the .NET Framework binaries distributed with the .NET 4.5.2 update.For example, the following diagnostic message is printed by...
View ArticleSecurely Saving Windows Auto Logon Password in .NET
I'm trying to securely store a password for autologon in Windows through .NET. There are lots of examples out there about how to securely store the password in C++ or about how to *insecurely* store...
View ArticleCLR Crashes with exception code Exception code: 0xc0000409 while performing...
We develop a .NET application profiling tool and use the Profiling API heavily.We perform stackwalks using DoStackSnapshot API as described in https://msdn.microsoft.com/en-us/library/bb264782.aspxWe...
View ArticleHow to avoid copying the reference in linq C#
Hi All,I have following queries - currObject = (from obj in objectEntity.parts where obj.pKey.Equals(cKey) select obj).FirstOrDefault(); newObject = (from...
View ArticleUnable to install application with Oracle 9i access dll in clinet machines
Hi,I built a small application which gets input from user and update to Oracle remoter server (Oracle 9i). I included Oracle.DataAccess.dll in my project's reference. Now, I am able to build it...
View ArticleC# .Net Native Lockup on GCSettings.LatencyMode = GCLatencyMode.LowLatency;
So app is locking up on calling this when the app is compiled to .Net Native. It works great in non .Net Native compilations.GCSettings.LatencyMode =GCLatencyMode.LowLatency;Why would this be...
View ArticleUsing Impersonation for HttpWebRequest
I'm trying to call a web service using Impersonation. When I do the request with ImpersonationLevel set, I get a 401 Unauthorized exception thrown at GetResponse. When I do it without impersonation...
View ArticleDouble Icons in My Documents all folders
I just upgrade my windows from 8.1 to windows 10 insider preview. all of the default folders of my documents are double why??????
View ArticleWhy GC collection counters decrement at some points in w3wp.exe???
I measured the Gen/0/Gen1/Gen2 collection counters on an instance of w3wp.exe and noticed that these counters decrease at some points. I would expect that by being accumulative counters they would...
View ArticleHow approaches of the GC works?
Hi, I have gone through the GC. I am unable to grab the contents in MSDN. I have referred some sites. Finally, I have little confusion and queries. Could some one tell that, my understanding is...
View ArticleUnmanaged C++ calls managed c++ : it crashes on windows xp
Hi,if I call a c++ function in a managed DLL from an unmanaged dll or exe, it crashes on Windows xp, but it runs fine on Windows 7.On Windows XP I get an error message:Die Anwendung konnte nicht...
View ArticleUriFormatException was unhandled
I have a class named HttpRequestHelper.cs that establish Http client request to the service. Inside this class, I have a method that will create response Http object. The error is encountered in var...
View ArticleGetting class objects using ICoreprofiler
Hi, I am trying to get the parent class object of the called function using ICoreprofilerCallback/ICoreprofilerInfo2 APIs.What i want to do isSo my parent classpublic class TestManagedClass{public int...
View ArticleWindows Application crashes due to CLR.dll - Windows 2008 R2 Server
Hello All,I have a Dot Net Framework 4.0 based application developed on Visual Studio 2010 Professional which is running as a Windows Service on Windows Server 2008 R2 Enterprise Version with Service...
View ArticleAverageTimer32 custom counter not visible in perfmon x64???
Hi,I create a counter in my app, an AverageTimer32 counter type.but the counter is only visible when I start the x32 version of the perfmon tool!!!!how to create a timer counter working in the x64...
View ArticleDeadlock when starting up a WinForm application...
Hi,When we start our system we boot several managed WinForm applications. When we updated to .NET 4.0 we started noticing that more often than not - one random application would not start. You could...
View ArticleMarshal Problem with a Big Text structure
Hi!I have a Problem with a big TEXT Structure...Here is te Problem....Imports System.Runtime.InteropServices Public Class VBMaxSizeClass Public WPFSehrLangerText As String...
View ArticleFIPS validated cryptographic algorithms
I have enabled the FIPS algorithm policy on our windows server2008 machine. Now, any page that has a viewstate is abending with the following error: This implementation is not part of the Windows...
View ArticleExtract variable name from string in Visual C++
In my program, I have a struct similar to the following:public struct switchStruct{char nextSwitch [7];int randomNumber;};What I am trying to do is create a struct instance named currentSwitch for use...
View ArticleUsing ICorProfilerInfo::SetILFunctionBody, is it possible to add a...
I am working on an IL-rewriting profiler and my goal is to be able to add a try-finally block to methods. Essentially: // IL to set some state try { // original IL } finally { // IL to revert state...
View Article