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

Cannot pass a GCHandle across AppDomains

I have base library in c++ and client application is in C#. There is c++/cli interface to access c++ api's from C#. Every thing works fine until more than one app domain not come into play like NUnit...

View Article


.NET Runtime version 4.0.30319.18051 - Loading profiler failed.

My server is logging in this error every 5 minutes or so:.NET Runtime version 4.0.30319.18051 - Loading profiler failed.  The profiler COM object was instantiated, but the profiler failed during its...

View Article


Using microsoft public key token

Hi, a newbie to CLR.Suddenly my mind flashed a wild thought. Assume I had created my own assembly and I were going to use a Microsoft assembly's public key token. Could Microsoft's private key...

View Article

Usage of "get" word in the class and method name(Naming best practice and...

HiMy application is developed on .Net Framework 4.0this application contains various methods which contains the "get"  word e.g. GetSalary(), GetPaymentdetails()get is known to be the Contextual...

View Article

What API can be used to obtain the AssemblyRef token for an Exported Type?

Types that are decorated with the TypeForwardedTo attribute will have an Exported Type record in the metadata.  What API's should be used to access the exported type table / tokens?

View Article


CLR Profiling API support & vNext

It seems that the primary source for the CLR Profiler support was David Broman's blog. That has now been rolled into the .Net team according to the last post a few months ago. If I am looking for some...

View Article

ELT hooks not always fired

I have a profiler that implements the ICorProfilerInfo3 elt hooks (FunctionEnter3WithInfo, etc). Works great. However, I've noticed that there are certain scenarios where I do not receive a leave or...

View Article

Java to .Net

Hi All,I have a lot of Legacy code both in Java and .Net. Now i'm faced with a situation where i need to call the .Net dll methods from the Java application.How do i achieve this ?Thanks, Sezhiyan

View Article


What are the account permissions needed to run .net desktop/windows service...

we are trying to run our windows apps under least-privilege account, but we are gettingaccess denied error. we have identified what resources(folders/files and registry keys) required to run it then...

View Article


System.TypeLoadException: Could not load...

So I am running into a situation where I have a deployed .net 4.0 (x86) winforms application deployed to a number of clients in our organization.  This week a new employee started and received a newly...

View Article

The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.

HI,Plz Help on my below error.______________________________________________________________________The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.System.Data Void...

View Article

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 Article

OutOfMemoryExcetption

I get a XML dataset with data. I loop the data and put every line in a custom made UI control, that I put in a stackpanel within a PivotItem of Panorama. As I switch between PivotItems, depending on...

View Article


VirtualizingStackPanel

I am using this example http://msdn.microsoft.com/en-us/library/system.windows.controls.virtualizingstackpanel.virtualizationmode.aspxBut when I enter my Page, I want to run the code from it first,...

View Article

website is very slow when change code in app_code folder.

Hi,We are hosting the source code in webserver and configure the website. The project has more than 2000 files and 300 files in App_Code folder. Client continuously reporting site is very slow to...

View Article


A com addin works in F# but not in C#

Hello,Has anyone ever come across a problem where a COM addin would be usable in F# code but not in C#?I have a COM addin that I load into F# using...

View Article

Threads synchronization

Hi! Please consult me on the following question: 1. There is main GUI thread, two buttons Start and ReStart 2. ManualResetEvent is used to stop the working thread  3. "Start" creates and starts the...

View Article


Finding GC roots on a memory dump

  Hello all! I am trying to find GC root of any given managed object in a dump file by using Microsoft debugging APIs. I can enumarete managed objects successfuly (I can get address, size, type info...

View Article

[Solved] Marshal.StructureToPtr() causes a structure with an IntPtr field to...

Hi Community,I have been struggling for a couple of days with a strange problem. And after reading a lot of posts online, it seems the most common issues faced are not similar to this one. I hope...

View Article

Can .Net exe work without having MSIL inside?

As I know Ngen can make native code out of MSIL and this code works being loaded by JIT from GAC *.ni.exe. The first version of Ngen did not keep the MSIL inside exe. Also this article shows that the...

View Article
Browsing all 1710 articles
Browse latest View live


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