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 Articleerror 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 ArticleRegisterServiceCtrlHandlerEx 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 ArticleVisual 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 ArticleUnable 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 ArticleBug 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 ArticleIncremental 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 ArticleReflection 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 ArticleException 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 ArticleCONNECTION 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 ArticleAccessing 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 ArticleProblems 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 ArticleWhether 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 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 ArticleNon-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 ArticleCannot 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 ArticleHow 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 ArticleBehavior 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 ArticleHow 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