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

Unable to use Managed C++ dll

Using VS 2010 I created a small C# Console app that does nothing. I also created a managed C++ dll (called "steven") with a single method that just returns. I added a reference to the Managed dll into...

View Article


Efficient way to get ".NET CLR" perfcounters in-process

I want to find the most efficient way to access the CLR performance counters in-process (e.g. ".NET CLR Memory" or ".NET CLR Jit"). I use the CLR Profiling API, so I can do this natively (preferred),...

View Article


AccessViolationException with HandleProcessCorruptedStateExceptions not...

I am calling a third-party unmanaged DLL from vb.net (framework 4.5) and on rare occasions the third party DLL thows an AccessViolationExcpetion ("Attempted to read or write protected memory. This is...

View Article

What is error ioibmurhynrxkw0zxkyrvfn0boyyufow clr20r3

Program crashes on startup with this strange error:EventType clr20r3, P1 <app_name>.exe, P2 2.2.0.0, P3 527a0217, P4 system.configuration, P5 2.0.0.0, P6 4889de74, P7 9d, P8 48, P9...

View Article

Errors after update to .NET Framework 4.5.1

After update to .NET Framework 4.5.1 (through Windows Update). Some of our customers have reported errors is our application, specifically when it comes to SQL Server access. The error is: “A...

View Article


Windows Form Icon

I posted this in the wrong forum. Sorry for a double post. I am making an app using Visual Studio C++ express edition. When I change the forms icon in the editor, by clicking the form and selecting the...

View Article

makecert fails - Error: CryptCertStrToNameW failed

I'm on a Windows Vista system.I download the microsoft sdk in order to be able to make certificates for this application I'm trying to get loaded.based on the installation manual, I type the following...

View Article

Looking for the right combination of SQLite dll and .Net Framework

Does anyone here know which combinations of SQLite DLLs and .Net Framework levels work?  I've been researching and flailing about and have yet to find the right combination.In my naive first attempt I...

View Article


C# float.parse changing decimal numbers

Hi,I am using float.parse to convert a number in string to float. Below is the code:float fAmount = float.Parse("327652.11");It is returning 327652.13.This is happening for numbers that are greater...

View Article


How to list all static objects of an application?

   Hi,   Is it possible to list all static objects in the application or AppDomain via the code or any sort of tools (the more simple the better)? The idea is to analyse the objects of the most top...

View Article

CLR host and partial binding

Hi,I'm trying to write a CLR host (.NET 4) to run an existing .NET product from C++.I've implemented IHostAssemblyStore::ProvideAssembly and it works most of time.However, I can't make it work in the...

View Article

Mdbg: Examining property values of objects. How?

I am trying to implement basic debugging functionality. Mdbg is a great starting point. Though what I found out is that it does not analyse the properties of the object being inspected but fields only...

View Article

System.Runtime.Serialization.SerializationException

Please redirect if this is not the correct forum.I am receiving the following exception during my processing:Unable to find assembly 'MyAssembly, Version=1.0.0.0, Culture=neutral,...

View Article


How to use RSACryptoServiceProvider.ImportParameters()

Hi everyone! I have a very non-descript error message of "Bad Data" displayed for a CryptographicException when trying to import just the Modulus and Exponent (the Public Key) when using the...

View Article

Image may be NSFW.
Clik here to view.

Why there are so many Gen2 collections?

Hello,I'm trying to figure out why there are so many Gen2 collections? I assume normal situation where there 1:10:100 combinations of Gen0:Gen1:Gen2 collections. Collections are not induced either...

View Article


Assembly resolution in hosted environment

Hi,the issue arises in the following context:MS Word -> .dot -> unmanaged library A (vb6) -> managed library B -> managed library CThe managed libraries are not strongly named and not...

View Article

Method's type signature is not PInvoke compatible c#

Hi, I am calling a c++ function from a C# project by using a dll where it returns an IplImage.  I have used this to export the function:extern "C" __declspec(dllexport)IplImage * showNewImage(IplImage...

View Article


.net CLR Crash in Windows 7

Our .NET App crashed with the crash dump pointing to issue in CLR –clr!CMiniMdTemplate<CMiniMd>::getMvidOfModule+0x49:000007fe`f75d524d 0f1000          movups  xmm0,xmmword ptr [rax]...

View Article

Interop problem, client recieves NULL object, but server sends notNULL

Hello everyone, I'm developing an OPC client (in C#) and an OPC server (in C++ COM). The client is tested with Martrikon's and Iconics' free OPC server(both COM) and works fine (functionally as well as...

View Article

How to register a .dll in gac

I want to register a .dll in gac.plz help me to solve out. plz tell me what is process to register a .dll in vb.net through programming.

View Article
Browsing all 1710 articles
Browse latest View live