private communication between .NET and C++ native DLL.
Hello I have a .net program that use DllImport to call a c++ native function exposed in a dll. My .NET program calls this function with a password that I would like to keep secret. I care about the...
View Articlebasic question newbie set permissions in Visual Studio
I cannot save any files in Visual Studio 3013 - IIS7 - Windows7. I am Administrator and set IIS_IUSRS but I am locked out of changing the properties. I own the machine exclusively. How to set...
View ArticleNeed an example of how to use CustomACE
I am posting here as this is primarily a Security/Permissions in .Net question, and no other forum seems to fit.I want to use the CustomACE class to create an ACE for the MANDATORY_INTEGRITY_LOW...
View ArticlePreparing Publisher policy for Oracle.dataaccess.dll
Hi,Can anyone tell me how to create a publisher policy file? I am having an oracle.dataaccess dll from oracle. but i want to redirect it to latest version. I dont know where i have to create and save...
View Article.NET Framework 2.0 Code Calling .NET Framework 4.0 Code
Hi,Is there a prescribed approach for calling .NET Framework 4.0 code from existing .NET 2.0 code directly? What are the Pros and Cons of this? Regards,VikramBlog: http://dotnetupdate.blogspot.com |
View ArticleWhat CLR version fixes the "DoStackSnapshot on 64-bit CLR 4" bug?
There is a bug mentioned in David Broman's response to this...
View ArticleSystem.ArgumentException,what's the meaning?
Hello,everyone.(My english is bad)Anyone can tell me how to solve this problem?My website throw out this exception almost everyday,and then responses nothing.I have to restart the server.I use...
View Articleregistration free COM/Interop with SilverLight
I am trying to activate a COM-visible .NET assembly using the activation context API from SilverLight using the following configuration:IE -> SilverLIght component ->AssemblyLoader.dll -...
View ArticleProgram looking for *.resources.(dll|exe) files with no apparent reason
Hello all, I have an .NET executable that loads some .NET assemblies using reflection. It works fine most of the time, but at one of our clients, whose users connect to the same machine via Citrix, it...
View Articleperfview: unreachable memory
Hi folks,I'm using perfview for .net memory leak analysis and I was wondering what unreachable memory is representing? I see a sizable difference in unreachable memory between two dumps that is...
View ArticleMemory leak in system timer event in framework 3.5 and in framework 2.0
I use C# in VS 2008 framework 3.5 and VS2005 framework 2.0.When I use system timer, I find in every several seconds it increases 8K memory usage and keep increasing as long as you wish. Here is the...
View ArticleQueries on Implementing Obfuscation of code for .NET Dll's using Dotfuscator
Hi All,I am working on assignment for .NET project requiring Obfuscation, here we are working on specific modules comprising 12 dll's(all of .NET dll's), I need clarification on few aspects related to...
View ArticleAccess violation and closing application
Hi,I have problems to run 1 module of internal application, after run application has closed whitout any system errors, i use fileemonn and don´t have any file missed. Can you help-me please...
View ArticleHas the "IsWow64Process" method changed lately - RE: How to check whether the...
Hi,I am using the forum's recommended way (http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/24792cdc-2d8e-454b-9c68-31a19892ca53/) of detecting a 32-bit program running under Wow64 on...
View ArticleDynamicMethod disassembling
I'm currently evaluating the power of DynamicMethod to create an environment that based on user input can create more or less volatile methods.The user input finally forming these methods may be buggy...
View ArticleError invoking constructor using reflection
I have public class A{} public class B { A a; public B(A a) { this.a =a; } }Now i am trying to invoke constructor of B using reflection.A a = new A(); var type = typeof(B); var ctr =...
View ArticleIIS fails to load an assembly from the App Base folder "Web...
Our web site is hosted in IIS with an AppPool set to run as a specific user account. When we directly refer to one of our managed assembly, no errors and the assembly is loaded ok. But the same...
View ArticleProblem with IMetaDataEmit::Merge()
Hi, I am trying to instrument methods in mscorlib.dll and put method calls into my own proxy methods into them. Now, I know I cannot add AssemblyRefs from mscorlib.dll to my proxy.dll because mscorlib...
View ArticleWeb Hosting?
Hi people,How do I find out where my company's website is being hosted and how do I add another site. I am the only developer here and I inherited this company's website when I accepted this position....
View Article