C# Automation Microsoft Excel Error.
In a Word Document that I'm automating, I have a chart that I add values into. I create an Excel Worksheet object that allows me to edit the values in individual cells.After this is done I save the...
View ArticleWhy does the thread die with no exception thrown and the process continues?
I have a multi-threaded application: very intense operations.So intense that I call it a foreach loop that talks to the database.That is how complex this.Now, I have set the code to write out any...
View Articlesetting custom attribute values on enum at runtime?
I have enum with values such as "1Day", "2Day", "5Day" etc. I created a custom attribute called DateId for this enum. The DateId is a value I use to keep track of every day the stock market was open...
View Articlehow to use DefineMethodSpec to define a generic method instance for called in IL
Hi,i need to instrument generic method. Be more clearly i want to write IL to call the instrumented generic method when jit compile start. but now i don't know how to define a generic method that can...
View Article.NET 4.6 Could not load file or assembly 'aaa' or one of its dependencies....
Hi, I have a C# Console application built in VS Professional 2017 (.NET Framework 4.6) with Target Platform set to x86. It is calling Unmanaged Dlls which are built with Platform “Active(Win32)”. Below...
View ArticleHow to disable string Interning on CLR
Hi, I know that String interning is flagged out by C# compiler, but I also know that CLR 2.0 ignores that. Is there a way to prevent that in VS 2005? I know NGEN can prevent that, but its too much work...
View ArticleHow to decode a ASN.1 in C#
Hi, how can I decode an ASN.1 cipher?If someone knows how to do this in C ++. You can drop the code in this language too.using System; using System.Collections.Generic; using System.Linq; using...
View ArticleHow to decode a ASN.1 in C#
Hi, how can I decode an ASN.1 cipher?There is a code that encodes in ASN.1. And I do not know how to decodeIf someone knows how to do this in C ++. You can drop the code in this language too.using...
View ArticleCall function from a injected Dll in another process in C#
Hi, i have 2 project c++ a dll and C# .exe, the dll is injected in a game and return a data like this: http://prntscr.com/lctkmbthis stay returning while dll is runing . Now i trying get this return in...
View ArticleAugust update and tls version
This is on Windows 7Prior to the August update you could open a secure tls 1.2 connection on any portAfter the August update you can only open a tls 1.2 connection on the standard port of 443, other...
View ArticleHow to extract function argument and return value through .NET profiler API ?
Through Profiler Api we can track the current methods and their performance. but can we do capture the function argument parameter and their return value as also?Suppose below is a use case :...
View Articleaspnet_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 ArticleApplication crashes issues in .net application
Greetings!!.I have a couple of weird issues recently with my VB.net(.net 4) desktop application which has been working fine for other clients but crashing for a couple of clients very randomly. I...
View Articlestart without debugging
i build the 'hello world' fortran program and it didn't compile. i have license to visual studio and fortran and when i compile my computer program, it says error 1 rc.exe not found. what is the problem?
View ArticleManaged C++ with .NET Core 2.0
Hello,Sorry if this is wrong thread but I couldn't find better one.I've created Managed C++ library (.NET 4.6.1), which has one class and one method. Then I've created .NET Core 2.0 console application...
View ArticleFile name and line number in StackSnapshotCallback (unmanaged API for profiling)
I'm trying to make my profiler output how a profiled method was called, from a FunctionEnter hook. With the DoStackSnapshot and StackSnapshotCallback combo, getting the class and method names in the...
View Article.Net Profiler - Fails AddAssemblyReference with BadImage Exception
My IL Rewrite profiler uses a helper assembly which will be installed in GAC which has a bunch of function definitions that gets injected in the .Net application code. While i add it's reference in...
View Article