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

Register old assembly (Interop.MSFlexGridLib.dll)

I've a program that uses the Interop.MSFlexGridLib.dll assembly and I cannot use gacutil to install in the GAC as it doesn't have a strongly typed name.  If you install the program from my distribution...

View Article


Wrong file path and line number in Exception stack traces from dynamic code

We are using System.Reflection.Emit to generate code at runtime from source code (yes - as in a compiler). We provide correct symbol information to the ILGenerator with MarkSequencePoint etc, and...

View Article


Regarding internet connection in VMware player with Windows 8.1

hi,After updating OS in my laptop from windows 8 to 8.1, I am unable to connect to internet inside VMware Player. I have tried to troubleshoot the issue but ended up with nothing. Is this a known issue...

View Article

VS 2010 Managed Debugging Assistant 'LoaderLock' has detected a problem in...

Hello,I trying to debug a c# project using VS 2010. I have defined Excel as the start up application in the property window of the project.  I have created a couple of break points and I am getting the...

View Article

Failed to start a new STA thread

Hi!We are having some really weird failures where a .NET 1.1 dll fails to start a new STA thread. The weird part is that the caller does not get any kind of exception (except the one that we are...

View Article


Add new tab in windows File (how)

Hello Programmers, Can someone tell how to add a new tab in a file in Windows 7 using C#?

View Article

How to use OpCode Jmp and Calli on ILGenerator ?

Hi, guyCould anyone give me some example how to use those 2 OpCode, I'm search and try in many way but non success (MSDN library not helpful in this case at all).

View Article

Stackoverflow exception in .net 4

Hi,We've been struggling with this strange issue for a while and we'd appreciate it if anyone can assist...After upgrading our product to work with .net4 (we successfully used .net 3.5 until now) we...

View Article


Same assembly of different versions be loaded into same AppDomain

We developed a component which can be used by our customer to develop the DTM (A DTM is also a component, you can think of it as logical representation of automation smart device). Our customer created...

View Article


How to avoid this Memory Leak?

Hi,I'm getting 'Not enough storage space available to process this command' error after executing the application for some time.The following is the analysis report of my application using...

View Article

C# class indexer access from VB6 via COM interop

Hello,I'm operating in a scenario where legacy VB6 code must interoperate with C# code. So far no problems except one special case where a C# library must substitude a former ActiveX-DLL.The problem...

View Article

how should machineKey be formatted in .net 4.5 webforms?

I recently migrated a web application from .net 3.5 to .net 4.5. The machineKey element is:<machineKey validationKey="KeyA" decryptionKey="KeyB" validation="SHA1" decryption="3DES"...

View Article

CLR Profiling API - Detecting a field access

Is there a concrete way to find out if a specific field of a specific object is being accessed? It looks it would be possible to look at the IL and see for LdFld opcodes. Is that good enough? Are there...

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

Problems with MSVCR80.dll

It seem that the MSVCR80.dll is missing from my computer. This only happened today, when I tried to access Apple I-Tunes.How to I:-a) Get the fileb) install it in the appropriate space.Please Help!Tony

View Article


Random 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 Article

OpCodes.Ldlen cause an error when put more then 1 pointer into IL stack...

Hi,I'm write a for loop array test code, it's work fine until I put a check array size code (dup; ldlen; brfalse LabelExit;). I find OpCodes.Ldlen is a cause of error, I fixed it but I don't know why...

View Article


ISO C++11.NET using ROTOR

Hello,How would I access free ROTOR to implement an universal bytecode of C++11.NET.Thanks

View Article

Help required on PowerShell CmdLet

I am Prasanna and new to Cmdlet development.I have to write a cmdlet that takes 4 parameters - A, B, C and D. B is valid only when A is true. And D is valid only if C is true.I tried to use Dynamic...

View Article

Fixing managed/unmanaged problem

Hello, I don't know where to post the topic, because it relates mixed applications using unamanged and managed dlls.A lot of things have been written about loading phase. I cannot find anything about...

View Article
Browsing all 1710 articles
Browse latest View live


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