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

System.TypeInitializationException was unhandled by user code ERROR please help

I am busy with an e-commerce web application using visual studio 2005 and IIS 7I got this errorSystem.TypeInitializationException was unhandled by user code  Message="The type initializer for...

View Article


Enhanced Strong Naming

I am testing Enhanced Strong Naming (http://msdn.microsoft.com/en-us/library/hh415055.aspx) and having some problems getting it into a build process. According to the article you have to delay-sign...

View Article


Access violation at gc_heap::mark_object_simple

I am having access violation exception in our Windows ServiceIn WER416F.tmp.hdmp the assembly instruction at clr!WKS::gc_heap::mark_object_simple+6d...

View Article

passing a float value by reference to unmanaged code to be used in callbacks:...

Conside the 'thought-experiment' straight C routine:void setToThree(float *v) {  if (v == NULL) return;  *v = 3.0; }This won't care (in C) if you pass a pointer to a float variable or to an array of 1...

View Article

How to report a bug to microsoft?

Hi all,Now I'm pretty sure that the problem I explained in the post"More info about the problem with XML signature from a SC" (...

View Article


The failure of unmanaged code(Delphi) consumes Com from .Net

We have  to access  a Com dll that is developed by C#,    when its codebase register(regasm) as local path, works fine. but when its codebase is mapped driver, it throws the error "interface not...

View Article

Why "RuntimeHelpers.Equals" slower then "Object.Equals" ?

Hi,Anyone can explain me why "System.Runtime.CompilerServices.RuntimeHelpers.Equals " slower then "Object.Equals" ? I test with 100,000,000 chars by compare it self like Tmp = Text(i) : IsEqual =...

View Article

Instantiate Shell32.Shell object in Windows 8

Hi,I want to instantiate the Shell32.Shell object in Windows 8. I have created a small console project in VS 2012, added reference to Microsoft Shell Controls and Automation. When running the following...

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


problem used!!!!!!

Error    1    The type or namespace name 'CloudToolkitN6' could not be found (are you missing a using directive or an assembly reference?)this error appear when I do debug for my project!!! I cant use...

View Article

How to force all calls from unmanaged host app into managed plugin to MTA

HiI am writing a managed plugin for an 3rd party unmanaged non-COM host application. But because all the interfaces that are used to communicate between host and plugin are COM compatible, I use...

View Article

.net com interop security

Hello As a very newb to security issues, I'm looking for some clue about security model/issues/privileges/solutions/attributes/... of .net com interop. Something like starting point article, code...

View Article

Contradicting articles about .NET 4 backwards compatibility

Hi,I found that two MSDN articles about the backward compatibility of .NET 4 seem to contradict each other: "When you install version 3.5, you get the 2.0 and 3.0 layers automatically, and apps that...

View Article


winmm.dll exception

ok im new to C# programming and i hit a snag that im confused about. im trying to make a mediaplayer and i got the basics to work but when i tried to add things like Volume control i looked up that i...

View Article

How to debug an executable

Hi,I run into a dead end with a Windows application written in C#. If I open my source code in Visual Studio 2010 and hit "F5",everything runs fine. I then build it into a msi installer, then install...

View Article


How to set different references in debug and release mode

HiI have a C# application end a C# assembly. I can compile both in release and debug version. In the C# application I'd like to refer the release assembly version in release mode and the debug version...

View Article

GDI+ error when saving an image

In http://social.msdn.microsoft.com/Forums/vstudio/en-US/b15357f1-ad9d-4c80-9ec1-92c786cca4e6/bitmapsave-a-generic-error-occurred-in-gdi?forum=netfxbcl, someone suggests a workaround through a memory...

View Article


LocalFileSettingsProvider throwing UnauthorizedAccessException

In my .NET client application I use the default settings provider with Scope=User and Roaming=True. This works fine in most environments, no matter if client or Terminal Server, except for a customer...

View Article

How do we tell the .NET 4.0 CLR to use server garbage collection, when...

We have a server app product.   This runs unmanaged code under COM+ for historical reasons.   There are also parts of the system which are managed code.We host the CLR ourselves, using unmanaged...

View Article

Image may be NSFW.
Clik here to view.

Doubt in Sql Query on Stored Procedure

Hi Friends,             In my project i want to filter total amount by FromDate and ToDate. and my doubt was i want to filter same amount <15 DifferenceDate , < 30 DifferenceDate....... <90...

View Article
Browsing all 1710 articles
Browse latest View live


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