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

ModuleLoadException: The C++ module failed to load during native initialization

Hi alli receive the above error message when i try to run a c# program that calls class member functions in a c++ static lib (lib0) via a c++/cli bridge. The complete error message is appended at the...

View Article


Heap corruption in CFusionArray (SxS)

Hi,I am running into an issue where a reg-free COM usage where we have a COM object A that is CoCreateInstance'ing object B. Object B is a managed class that is decorated with the GuidAttribute -- that...

View Article


sn.exe exit code documentation ?

Hi, When one calls sn.exe, what are the expected error codes (errorlevel) in return ? I'm using delay signing. I think about three cases when achieving the final signing: - assembly was signed...

View Article

pass SAFEARRAY of BSTR from C++ to C# DLL

My code is soemthing likeBSTR vb[20]; //heap alloc or _bstr_t no helpSAFEARRAY* sa = SafeArrayCreateVector(VT_BSTR, 0, 20);long m =0;SafeArrayPutElement(sa, &m, vb);_exten_obj->GetData(sa);...

View Article

TargetException while raising COM event for interop

Hi experts,I've one DLL loaded in two Internet Explorer Windows. While loading the first one, a singleton is created. This singleton raises COM events, which are received by JavaScript in the Internet...

View Article


System.ComponentModel subclass instantiation very slow when optimize is...

Hi, Our company is facing a crucial performance issue with component instantiation (using Component Model). We currently use .net 3.5 for most of our products and we cannot migrate to .net 4.0/4.5...

View Article

asp.net master page designing

please tell me how to navigate pages in master page designing process

View Article

pinned heap objects

Hello *, we have a Windows Forms Desktop Application written in VB.NET. The components of our GUI we call „formular“ (inherits Windows.Forms.Form).  After recognizing OutOfMemoryExceptions at our...

View Article


aspnet_regiis error when encrypting connectionStrings

 I have a website whose domain is www.myWebsite.com and on my server it is located in a directory on my c: drive at the following physical path:   c:\dirVirtual\myWebsiteI have a connection string...

View Article


Supports multi-platform technology selection?

I now want a product that general idea is that, A server, There are many clients: WinForm, Web, IOS, Android, WP8, and supporting GOOGLE account verification, also open API  for third parties to...

View Article

how to register a dll into Assembly (Gac) in windows server 2008 r2 without...

Hi Team,We are doing migration project.The database sql server 2008 is intallled in a machine and this machine  has .net framework 2.0 and 3.5But VS2010 and windows sdk not installed.We are not allowed...

View Article

.NET Runtime error in event log on running a a win32 process that uses a...

Description: Here is the exact error in eventlog:".NET Runtime version 4.0.30319.18033 - There was a failure initializing profiling API attach infrastructure.  This process will not allow a profiler to...

View Article

EnumerateInstalledRuntimes is not giving all runtimes

I am using EnumerateInstalledRuntimes to enumerate installed .NET Frameworks on win8 x64 platform.I am getting v2.0.50727 and v4.0.30319 but nothing for 3.0, 3.5, or 4.5 etc.   I have VS2010, VS2012...

View Article


Reading .NET 4.0 dump files in WinDBG

I'm familiar with the WinDBG paradigm. Been reviewing a lot of dump files using WinDBG x64 version. For the most part dump files were  .NET 2.0 applications and psscor2.dll. Current WinDBG version I am...

View Article

KEADAKASA2010

What is a P9: invalidoperationexception  on a download?

View Article


Image may be NSFW.
Clik here to view.

ANTS profiler results and fragmentation issue

I am using the ANTS memory profiler for analyzing the continuous increase in memory consumption of a .NET application. I am facing an issue in understanding one of the components of the profiler...

View Article

DebugDiag Memory Pressure analysis doubt

I am using DebugDiag 1.2 to perform memory analysis of a .NET application.On taking a dump, and analyzing non .NET memory (third option on Advanced Analysis tab of the tool), I see two sections...

View Article


RequiredRuntime Option in Machine.config?

Hi,The requirement is to force a .NET 4.0 DLL to run in a .NET 2.0 Environment -  .NET Framework 4.0 runtime would not be installed due to various contraints. I would like to understand if it is...

View Article

after I use CLRHost to launch a C# App, the API SetUnhandledExceptionFilter...

I had make a c++ launcher to host clr because of the problem of "CoInitializeSecurity", I use ICLRRuntimeHost.ExecuteInDefaultAppDomain to start a managed method which calls App.Main to run the C#...

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
Browsing all 1710 articles
Browse latest View live


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