Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > dotnet clr > august 2004 > threads for august 8 - 14, 2004

Filter by week: 1 2 3 4 5

Re: Determine if assembly is loaded from GAC
Posted by Shell at 8/12/2004 9:49:35 PM
Ok... problems 1 and 2 solved. Now, is there anyway to specify that my app should use *only* the dll in the GAC? That is, if it isn't there in the GAC, I do not want it to try and discover it elsewhere (such as in the executing folder, etc.) Essentially, I want to ensure that the deployed app ...more >>

pinvoke and the Cdecl calling convention
Posted by Mike at 8/12/2004 6:05:25 PM
Good day, Perhaps this should be on the Interop newsgroup. Sorry if it should. I'm trying to PInvoke a function in a native DLL via its ordinal number. The native C++ function, ordinal number 1, has the declaration: int __cdecl CalcAverage(int,int,int); My C# declaration for that funct...more >>

"Path 'POST' is forbidden"
Posted by Ollie at 8/12/2004 5:03:35 PM
I have wrriten a reverse proxy for a client of mine, this reverse proxy takes the url takes it attempt to access a *.XXXX and returns the the contents of an aspx web page from another internal server, the user then clicks on a button on the page that then posts data to the reverse proxy and it r...more >>

Internal constructor "visible" outside of assembly. Compiler bug?
Posted by Martin Oddman at 8/12/2004 1:41:42 PM
Hi, I have a compiling problem. Please take a look at the code below. I have an application that is built upon three tiers: one data tier (Foo.DataManager), one business tier (Foo.Kernel) and one web presentation tier (Foo.WebFiles). The data tier shall only be accessible thru the business ti...more >>

IL reading & writing - any available tool?
Posted by acyment NO[at]SPAM yahoo.com at 8/12/2004 6:33:37 AM
Hi everybody. I'm writing some IL instrumenting code and I haven't yet found an IL instrumenting application that...well...actually works. I've been trying RAIL (http://rail.dei.uc.pt/) and PERWAPI (http://www.citi.qut.edu.au/research/plas/projects/cp_files/pefile.jsp), but neither of them works...more >>

Re: Determine if assembly is loaded from GAC
Posted by Shell at 8/11/2004 4:52:28 AM
Mattias, > > Check the Assembly.GlobalAssemblyCache property. > How can I get a reference to an assembly loaded in my application? When I try GetType().Assembly.GetReferencedAssemblies(), I get an array of AssemblyName objects (which obviously doesn't have a GlobalAssemblyCache property...more >>

Determine if assembly is loaded from GAC
Posted by Shell at 8/11/2004 3:02:58 AM
Hi all, I have an app that has a reference to a strong named assembly. I expect this assembly to be available in the GAC on my target machine. 1) How can I prevent the dll from being copied into my bin folder when compiling? I know that the app will always use the GAC assembly, but still I ...more >>

enumerations as parameters, VB, and the value 0
Posted by cg22165 NO[at]SPAM yahoo.com at 8/10/2004 3:18:35 PM
I'm having some trouble with the value 0 and how VB is resolving its type when it is used as a parameter (to a constructor in this case). The same problem does not reproduce in C#; the correct constructor is always called. Sorry for the length, but the best description is simplified code: ...more >>



PublicKeyToken
Posted by ESCOFFIER_Clément at 8/10/2004 3:15:46 PM
Hello, I am looking for the calcul method of the PublicKeyToken of an assembly. Is it a hash method ? How the runtime use this information ? Thank you...more >>

Add custom property at runtime to an interface
Posted by Henrik de Jong at 8/10/2004 10:53:54 AM
Dear, Is it possible to add an property to an interface. The getter and setter should use the default indexed method Value[AFieldName]. By example adding a property Address wich uses as getter Value['Address'] and as setter Value['Address'] = .... (value). grtz, Henrik ...more >>

fatal error CS0007: Unexpected common language runtime initialization error -- 'The specified module could not be found. '
Posted by bill_headley NO[at]SPAM yahoo.com at 8/9/2004 2:36:55 PM
HELP ME PLEASE!! I have been working with .NET for a while now and never run into this one. I have an ASP.NET application with C# code-behinds and get the error message that is below when I deploy (either by using an MSI or by copying the necessary files and setting up a virtual directory in ...more >>

ReflectionOnly and custom attributes
Posted by SeanH at 8/9/2004 3:21:01 AM
Whidbey Version: Visual Studio 2005 Beta I want to Assembly.ReflectionOnlyLoad() an assembly that has classes decorated with custom attributes from another assembly. Since Assembly.ReflectionOnlyLoad() does not load depended assemblies, Type.ReflectionOnlyGetType() fails. Loading the depend...more >>

How can I trace the loc/reason of VB.NETApp crashing w/o any excep
Posted by A-Programmer at 8/9/2004 12:15:02 AM
Question: I have a problem with tracing the reason of VB.NET Application crash without any exception. That is, it doesn't throw any handled/unhandled exception despite the fact that all the sub/functions have try-catch for system.exception and i have set the machine.config for jitdebugging to...more >>


DevelopmentNow Blog