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

pdc.sys

There was a spill on the keyboard of my laptop.  When I attempt to start my computer, I get a "SYSTEM SERVICE EXCEPTION" error (pdc.sys).  I am running Windows 8.  What can I do to repair this problem?

View Article


.Net Application with TSAWARE flag set to NO

I have .net application that has TSAWARE:NO set with editbin.exe. The problem is that application crash on some Windows 2016 servers with:Fault Module Name: ntdll.dll Exception Code: c0000409 If I...

View Article


KB4096236 security update leads to System.AccessViolationException at...

When we install security update KB4096236 on server, our application is randomly crashing with the stack trace below:Message=Application: w3wp.exe Framework Version: v4.0.30319 Description: The process...

View Article

RegAsm : error RA0000 : Failed to load 'C:\Users\Juan...

Hi,I created a .NET component in a C++ managed class library but the generated DLL is not a valid assembly... What could be the cause of this?My program is VERY simple... it is as follows:#using...

View Article

capture screenshot

i use Graphics.CopyFromScreen to capture the screenshot.but get error when input parameter. 

View Article


Get MethodBase from IL Method Name string

Hi!I'm writing my own programming language in C# and I want use this feature for importing dotnet static methods.I need to convert a string like `[mscorlib]System.Console.WriteLine(System.String)` to a...

View Article

AesCryptoServiceProvider and FIPS mode

Hi,My goal is to use an API for AES encryption that is FIPS 140-2 compliant. I am using AesCryptoServiceProvider.My big question is, besides using it on the right platform, should the security policy...

View Article

Callback function from C# to C++

Hello,I have searched on the net, but I haven't found an answer to my problem. I have a C++ program (an exe file) and a C# dll. The exe file contains a callback function. I need to send the pointer to...

View Article


Need a good sample code where I can call a callback function from c# dll into...

I have a c# dll witch receives makes calculation and generates results, when this is done, I like to invoke a callback function into c++ exe. Thanks

View Article


How to find all the arguments name and its values from...

I using ICorProfilerCallback to profile my application. In the function enter method I'm able to find the function name. But how should I find the function attributes and its values from the struct...

View Article

Microsoft.NET\Framework4\v4.0.30319\clr.dll error

Good morning,I have a problem with an application that runs under .NET. The error is as follows: Name of the application with errors: XXXXXXX , time stamp: 0x5b0544c7 Module name with errors: clr.dll,...

View Article

C# Marshalling StringBuilder to char*, always NULL upon entry to function

Hi,I’m attempting to use the a C library from C# code. The method that I would like to use has the following prototype: long Convert_Geodetic_To_MGRS (double Latitude,...

View Article

The CLR has been unable to transition from COM context...

Hello,I have run across an interesting error that I do not have a good understanding about. This involves .NET 2.0 VS 2005. The situation arose while developing a console application that desterilizes...

View Article


Using overlapped I/O in .NET

Hello,I'm looking to implement my own buffered IO stream, based on the Win32 asynchronous (overlapped) model. I don't find any helpful documentation or examples how this can be used. I'm learning by...

View Article

System.SystemException: The trust relationship between this workstation and...

Hi,We have an WinForm based application, whose executable (exe) is executed on every workstation when the user log's in. This is configured by setting the Domain policy to run a WScript on Logon event....

View Article


.NET Instrumentation - Function call to Helper Assembly Fails - Azure Web apps

I have deployed my .NET instrumentation profiler into Azure webapps through Visual studio 2012. My profiler does byte code instrumentation which looks like below,FunctionA(){-->Injected C# function...

View Article

D disk in memory is full

I need hands on help with D Recovery in my storage memory... it is full. I need what can be deleted deleted. 

View Article


Current thread must be set to single thread apartment (STA) mode before OLE

I recently updated a simple program that uses a filedialog control to locate a file. When I try and run the following code I get this error: Current thread must be set to single thread apartment (STA)...

View Article

Self restarting application

I have a console app which acts as a loader for another console app. (both are .Net 4.0)The loader is running in the default AppDomain.When I need the other app started, the loader spins up a new...

View Article

[WIN32][C++] Is it possible to use managed code in a win32 app ?

Dear Ladies and Gentlemen,please help a stupid beginner.I would like to use managed code like "ref class" or WRL::ComPtr in a Win32 app without using the UWP as platform.I tried different things and...

View Article
Browsing all 1710 articles
Browse latest View live


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