Fatal DirectX error! Code: 15 Result: 0x80070057: E_INVALIDARG The game will...
Fatal DirectX error! Code: 15 Result: 0x80070057: E_INVALIDARG The game will now exit. Try starting the game with /failsafe if the problem persist popped up after I tried to download Just Cause 2 from...
View ArticleInterop with C and longjmp
What happens when I call a C function from C# and this function will call longjmp? Is there a difference when I do the call through p/invoke or C++/CLI?Currently the setup looks like this: C# code ---...
View ArticleMixed Platform on Visual Studio 2015
In my solution some projects are in C# and some are VB.NET. Say I have 6 project out of which 3 are in C# and 3 are in Vb.NET. The framework I am using is4.0 and Visual studio 2015. Now out of these 3...
View Articledecompiled the Ngen.exe native code
Hi, i tried to convert the native code of my .exe file (managed code) by using Ngen.exe. But the problem is , it decompiling when applied to JustdeCompile in telerik.. but it shouldn't de like that...
View ArticleUses of MethodSemantics Other?
Typically, a property has get_ and set_ accessors, and an event has add_ and remove_ accessors. C++/CLI additionally supports a raise_ accessor for events (ECMA-372 1st ed. §19.6.2 "Accessor...
View ArticleMixed Platform on Visual Studio 2015
In my solution some projects are in C# and some are VB.NET. Say I have 6 project out of which 3 are in C# and 3 are in Vb.NET. The framework I am using is4.0 and Visual studio 2015. Now out of these 3...
View ArticleCOM object not registered
I am building a custom WiX bootstrapper which first installs a third party application and then uses a COM object it registers to configure it. However it consistently returns this error in the...
View ArticleApplication crashes after .Net runtime upgrade to .Net4.6
Recently, our application(32 bit process) will crash after running several hours due to CLR internal error, like below:Faulting application name: XXX.exe, version: 7.20.0.1230, time stamp:...
View ArticlePerfView Unhandled exception, .Net Core profiling
Hello i simply tries to follow this instruction to gather some trace information on simply HelloWorld!...
View ArticleWhy .NET does not reuse/compact free object in my case (memory leak issue)
I have a memory leak problem with my .NET 3.5 multi-threaded application run on Window server 2008. I found the process consumed 1 GB memory after few days running and still increasing. This is what...
View ArticleWhen enabling c# optimize code cause issue
I have two floating variable with value (value1 = 44.35 and value2 = 44.35).If(value1 > value2)//Do some operationWithout enabling optimize code check box in visual studion this condition check...
View ArticleWhat are differences between .Net Framwork, .Net Standard and .Net Core?
Please help me to differentiate the differences between them with architectural diagram.
View ArticleDynamic NAV 2016
eg; purchase one machine on 11/12/17 and sold on same that with sale value no profit no loss also where there would be no depreciation charges. But in Nav bymistaken if depreciation calculated for...
View ArticleBlocking collection not empty
Hi ,In one of our projects we are using producer and consumer pattern.One thread we are adding items to blocking collection.Using for loop we are opening for 10 threads processing blocking collection...
View ArticleHow to get local variable names defined in a method using reflection in C#.net
How to get local variable names defined inside a method using reflection(.net assembly).I can get local variable info using MethodInfo.MethodBody().LocalVariables. But it gives data type of the local...
View ArticleWhat is a DateTime's Ticks property relative to?
As we all know, the DateTime.Ticks property is the number of 100 nanosecond units since midnight, January 1, 0001. However, what timezone is it relative to? Is it local or UTC?The reason I'm asking is...
View ArticleI created a .net com object that is working on identical server but when...
I have set up 5 sites using a .net com DLL which I register on 3 different servers. The last 2 server are an upgrade to newer servers and IIS. The new sites are using IIS 10 and server 2016. I was...
View ArticleOnly NativeImages_ in C:\Windows\assembly
Platform: Windows Server 2012 R2I'm looking for a specific assembly in the GAC (.NET Framework 2)I don't see assemblies in C:\Windows\assembly -- Would Uninstall / Reinstall framework 3.5 from Server...
View Articlehow to get an object which contain an specific class object. reflect
for example. I have an class B instance object B1.there is another struct c's class B property also is reference B1. such as c.Bproperty = B1. And another struct d's class B property also is...
View ArticleProfiler load path for 32/64-bit architectures (COR_PROFILER_PATH variable)
Hi, According to this page (https://msdn.microsoft.com/en-us/library/ee471451(v=vs.100).aspx) since .NET v4 the framework supports selection of the profiler DLL location using COR_PROFILER_PATH...
View Article