Quantcast
Browsing all 1710 articles
Browse latest View live

Create p7m envelope

Hi all, this is my first attempt at using pkcs classes to create a p7m envelope.I am trying to accomplish the following1. sign a document with a certificate2. envelope the signed document in a p7m file...

View Article


Problem while opening VS 2010

When i try to open the VS 2010 the following error comes and request some solutions on thisMicrosoft Visual Studio has encountered a problem and needs to be closedProblem signature:  Problem Event...

View Article


How to generate a mixed model C++ .NET DLL with CLR option using AFX library?

I am trying to create a mixed mode (managed and unmanaged) C++ DLL with CLR option and I require the use of AFX library. So I included "afxwin.h" in a file (which uses GL/gl.h). However I run into...

View Article

Assembly.CreateInstance returns null after merging assembly using ILMerge

Hi,I am merging two assemblies which are almost same. that is i have an assembly say xyz.dll and i am renaming this to xyzclone.dll. Now iam merging these two(original and renamed assemblies) using...

View Article

How do we change SQL Settings when using the CLR?

At some point our CLR build failed to deploy. Researching it, it is because we are using indexed columns and need to setCONCAT_NULL_YIELDS_NULL to on.  Opening up a brand new project and deploying...

View Article


TLBEXP warning about IPictureDisp

Hi,I'm working on a C# library that is to be used as a COM component. A Picture property of type IPictureDisp is exposed.During TLBEXP I get the warning message "TlbExp : warning TX0013116F: Type...

View Article

System.Security.SecurityException: Request for the permission of type...

Hello. I'm working on a website that uses a access backend DB. The code runs fine when I debug the site on Visual Studio. But when i upload it on hosting site,it throws the following exception....

View Article

CLR Profiling API problem: IL rewriting issue "System.IO.FileLoadException:...

Failure details: System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)   at...

View Article


How do I monitor memory usage of AppDomains in my Process hosted in a Windows...

Hello,We have a Windows Service (or a console) that hosts multiple AppDomains.  We would like to monitor the memory usage of each AppDomain.  The Process is of .NET 4.5, is hosted on Windows 7, and is...

View Article


Is there a reason we should not develop without any strong naming and perform...

Hello,It was recommended this forum is better to ask about setting up the team development process (using VS & TFS) regarding signing an application for deployment.  If that is incorrect, please...

View Article

Debugging custom profiler

Is WinDbg the only tool I can use or can I put a debug break in the C++ code and attach via Visual Studio?

View Article

Assembly.Load(byte[]) and XmlSerializer InvalidOperationException

Hello,I can't figure out what makes XmlSerializer of a type loaded by Assembly.Load(byte[]) in AssemblyResolve event handler go InvalidOperationException in Serialize or Deserialize?!Why, if:1....

View Article

Is Incremental Backup with VSS possible without Backup Stamps?

i'm trying to do a little backup app that needs to comunicate with VSS Writers and do an incremental backup. After some reading i now know that there are a few possibilities to do incremental: with...

View Article


COM interop assemblies and PrimaryInteropAssemblyCodeBase

We have a pretty big issue with registering 32-bit and 64-bit primary interop assemblies and maintaining IntelliSense support. We ship both 32-bit and 64-bit COM in-proc servers and register the...

View Article

Image may be NSFW.
Clik here to view.

why does .net suck at simple math???

take the simple subtraction 43.709719 - 43.7097189which should yield 0.0000001, however when i type in that problem into the watch bar(or have a pair of values with sufficient precision i get a result...

View Article


Timer components

am trying to develop certification record system by C#, access database and i want to know about Timer, here is the problem:- when a customer come to our office and register his/her company, the...

View Article

C# - reading and writing memory for game trainer

I'm interested in creating a small trainer for a single player game I made and want to know how to read/write memory with C# given a specific memory address. I found the memory addresses which hold the...

View Article


Determine FIPS Algorithm Policy seting in use NOT the registry value

Is there a way to check if a user is allowed to use non FIPS 140-2 security algorithmsI know you can look at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy and it MIGHT...

View Article

hooking SetErrorInfo of managed COM object from unmanged code does no longer...

Hi,for .Net 3.5 we created a hook into SetErrorInfo to get additional information of manged COM objects like the callstack. We implemented the hook like desscribed in this article:...

View Article

AppDomain.CurrentDomain.UnhandledException not fired in COM object

Hi, I have a simple mange COM object (.Net4.0) providing tow methods: Init() and ThrowTestException() The init method simply assignes the eventhandler to AppDomain.CurrentDomain.UnhandledException. The...

View Article
Browsing all 1710 articles
Browse latest View live


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