| Thread | Last Post | Replies |
|
| Adding objects to Context.Items | 17 May 2004 19:21 GMT | 1 |
If I add an object to HttpContext.Current.Items, does that mean it will last the duration of the page request? If not, what controls when that object will be cleaned up -J
|
| Retrieving method call parameter values generical, possible ?? | 17 May 2004 17:24 GMT | 3 |
I vould like to be able to retrieve the parametervalues pass to a method in a generic way. Thru reflection or StackFrame. Is this possible ? if so how
|
| Initially-owned mutexes and multiple XP logins? | 17 May 2004 14:36 GMT | 3 |
I have an application where I need to have only a single instance running on a given PC. The way I had been making sure that there was only one was to try to create an initially-owned mutex, something like this.. 1: bool created = true 2: mutex = new Mutex(true, "AgilentMsmtSrvr", ...
|
| Type.GetType call cost | 17 May 2004 11:16 GMT | 3 |
Basically I am wondering how costly the call "Type.GetType()" is. More specifically, I am wondering whether the subsequent identical calls will incur the same amount of resource or not. For example, let's say I have a MyClass type defined in MyAssembly.dll and I
|
| Is is possible to mix IL code and C#/VB.NET code???? | 17 May 2004 10:22 GMT | 4 |
I was wondering is it is possible to place in a source code file both IL code and a higher level language (C# or VB.NET) code??? In other words in it possible to have something line inline assembly (assembly code placed directly into C/C++ source code files) by tagging the
|
| fatal error JS2008 when compiling a jscript.net assembly | 17 May 2004 09:09 GMT | 3 |
I get the following error when attempting to compile a JScript.net assembly. The compilation error does not specify any syntax errors in the code The error fatal error JS2008: Error saving compiled state: The process cannot access the file because it is being used by another ...
|
| How are .module extern references in an assembly manifest resolved (aka how are libraries used in PInvoke resolved) | 14 May 2004 21:24 GMT | 1 |
I'm running into a case, where I replace the library within my directory (say I put a custom gdiplus thunk library), but my library isn't getting loaded into the process. Instead the actual gdiplus library is being loaded. Under normal circumstances writing thunk libraries for ...
|
| StrongNameIdentityPermission does not working with WinForm | 14 May 2004 19:30 GMT | 1 |
I'm invoking the same Dll from Console application and WinForm application Both signed with SrongName. the class that I'm invoking is protected with StrongNameIdentityPermission Demand
|
| common language runtime not loaded | 14 May 2004 19:24 GMT | 1 |
I'm getting a Error: common language runtime not loaded in my Options/Projects/VC++ Build tab. I'm currently running Framework 1.0 Anybody come across this?
|
| Selecting the correct function using Type.GetMethod | 13 May 2004 17:40 GMT | 1 |
I've the following class. public class c{ public f1(int one); public f1(ref int one);
|
| Find parent object? | 13 May 2004 14:56 GMT | 6 |
Consider an class object: Public Class DataLink Sub New() ' Is there anyway to get an pointer to the parent object here?
|
| Methods Reflection | 13 May 2004 12:37 GMT | 2 |
I need to inspect methods through reflection to discover if for a method's parameter ref modifier was used. I noticed that in ParameterInfo class a property isOut is available but I don't know how to discover if a ref parameter has been defined.
|
| exception handling in event handlers | 12 May 2004 06:36 GMT | 2 |
In our organization, we made a decision to not have any unhandled exceptions inside event handler methods. If we didn't do this, one event handler's unhandled exceptions will stop other event handlers from getting called. We use the same approach for both UI and non-UI ...
|
| Statics and threading | 12 May 2004 06:31 GMT | 3 |
I am writing a fairly simple desktop app which will not be subject to great loads. Therefore this question is more for academic purposes! I have implemented a class that declares only static members and functions. I use this class to control my connections. There are just 2 ...
|
| Severe limitation for IE-hosted .NET controls (classid is truncated to 128 chars) | 11 May 2004 06:26 GMT | 1 |
I am using IE 6 with all patches applied on Windows Server 2003 and Windows XP SP1. Recently, I installed the tech preview of Visual Studio .NET 2005 and attempted to view the IE Sourcing QuickStart sample to see if it had the
|