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

Issue in getting exception pointer in VC++ CLR project for generating dump file.

Hi,We are working on VC++ CLR (Windows Forms) application.We are writing a code to generate Mini dump file (using MINIDUMPWRITEDUMP in dbghelp.dll) whenever application crashes.The code available on...

View Article


error C2440 when passing an aray from managed code to an unmanaged MFC...

I have a need to pass an array from a C# library to a legacy MFC C++ application.The c# function in a class marked as [ComVisible(true)]  is: public void WriteMemory(byte[] data) { ... }I create a type...

View Article


RegisterServiceCtrlHandlerEx Access denied

Hi,I am trying to do P-invoke to to RegisterServiceCtrlHandlerEx it fails, returns 0 which is invalid handle and the Marshal.GetLastWin32Error() returns 0xc0000005. Any idea? I have tried the same...

View Article

Visual Studio 2012 Trusting Network drives

Hi,I am trying to get Visual Studio 2012 to trust our network drive (G:). I have tried a number of caspol commands and none have made a difference. caspol -m -ag LocalIntranet_zone -url...

View Article

Unable to get CreateDIBSection to work

The project I am on has the need to pass an image from C# to unmanaged C++ wherein a propriatary C++ SDK will manipulate the image bits. Through trial & error I have concluded that using...

View Article


Bug in careers.microsoft.com

Hi,I got a bug in careers.microsoft.com.Could someone please help me where can I post the bug...Thanks in Advance

View Article

Incremental Total Email File Size increase when forwarding or sending files...

I have finalised that this problem only occur for Outlook 2007 instead of the latest version Outlook 2010.   I have tested on this 2 version, the Oiutlook 2010 of the incremental for total email size...

View Article

Reflection with TypeBuilder adding duplicate field in a type.

I have a problem, im trying to dynamically create a type using .Net reflection and c#.Using the the TypeBuilder object i create field in the specified type :TypeBuilder oObjectBuilder =...

View Article


Exception from HRESULT: 0x800706BF

Hi , I am experiencing a problem with DCOM appliaction. The C#.Net Client application consume DCOM VC++ application. I sometimes received the folliwng error from the DCOM application which is developed...

View Article


CONNECTION STRING

Hi Friends,                 I am new to .NET.  i want to know what is the use of data adapter? dataset? data reader? sqlcommand, and all this. is this any rule to write those in order? please explain...

View Article

Accessing a collection of Session IDs

I am not sure if I am in the correct place to post this, but my primary question is: Does .NET 4.5 provide a class or collection that allows you to access all of the session IDs that are currently...

View Article

Problems loading assembly into new AppDomain - System.IO.FileNotFoundException

Hi everyoneI have an issue loading an assembly into a new AppDomain when the directory holding it is not in one of the 'standard' Fusion-checked directories. Just for information I'm using Visual...

View Article

Whether ASP.Net uses GAC to search for Missing Assemblies?

We are trying to consume a Assembly in a ASP.Net app. But we are getting an exception "BadImageFormatException". The same dll if it is loaded in a Desktop app works all fine. Our take is in a desktop...

View Article


.Net Framework 4.0 Error ID 1026 Unhandled exception

Hi, i have developed a little console application with Visual Studio 2010 and .net framework 4.0 . This application does some operations on a list of images (test, copy,move, etc.) and does a resize...

View Article

Web 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


Non-repeating random generator Array

Hello, im still new to this so i will try to keep my question on topic and clear. My end goal for the program i am writing is to write out my array in a random order without repeating, i already can...

View Article

Cannot resolve dependency to assembly ### because it has not been preloaded.

Hi, all:My .NET solution includes about 40 projects, and now I am adding log4net for my logging need. I create a wrapper project that reference to log4net.dll, this wrapper project simplifies the...

View Article


How does ASP.NET works?

HI Friends,                 I am fresher. Few days before i attend one interview. i answered for every coding Questions but i failed to answer about basics Question like1) Use of CLR?2) How does...

View Article

Behavior of SqlBulkCopy with IDataReader in 3.5

How does SqlBulkCopy loads data into destination table in 3.5 when we call WriteToServer with IDataReader ? Does it stream directly to DB or does it load the stream in memory first completely and then...

View Article

How to exclude sensitive data from app.config

Hi, I have a question when creating a new data connection for my application on WinForms.When I'm creating the connection it gives me two options, the first is:No, exclude sensitive data from 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>