<rss version="2.0" xmlns:dn247="http://www.dotnet247.com/schemas/rss"><channel><title>.NET 247: microsoft.public.dotnet.framework.clr</title><link>http://www.dotnet247.com/247reference/__site/74</link><description>microsoft.public.dotnet.framework.clr on .NET 247.</description><generator>.NET 247/WinFX 247 RSS Generator</generator><dn247:id>74</dn247:id><item><title>HELP: Late Construction via Reflection &amp; instance variable initializers (10 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290745.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290745.aspx</guid><pubDate>16 Sep 2004 00:13:32</pubDate><description>Hi All, I not sure if I am doing something wrong, or if this is a bug in the framework somewhere but I'm having trouble with instance variable initialization which is done before any of the ctors are called. Very simple code follows! Any help much appreciated! Given this class: public class Wibble { public int var1 /* 0*/; //Intentionally left at 'default' public int var2 0; public Wibble(){} } Th...</description><dn247:id>290745</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Calling a .NET assembly through PURE UNMANAGED code (7 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290734.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290734.aspx</guid><pubDate>16 Sep 2004 00:13:31</pubDate><description>Hi, I am tiring to load an assembly from memory ( e.g. System.Reflection.Assembly.Load( byte[] ), this works fine through managed and mixed code. NOW, I am tiring to achieve the same thing through PURE UNMANAGED code, I can't use com or com interop, does some one have an idea how to achieve what was just described? ( through unmanaged code ) Is it possible to call a managed assembly through PURE U...</description><dn247:id>290734</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Creating a Singleton that is a cross AppDomain Singleton (4 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/290730.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290730.aspx</guid><pubDate>16 Sep 2004 00:13:31</pubDate><description>Creating a Singleton that is a cross AppDomain Singleton I'd like to thank Eric Gunnerson for his article on AppDomains and Dynamic Loading (http://msdn.microsoft.com/library/default.asp?url /library/en us/dncscol/html/csharp05162002.asp) for it really helped me out with the issue i was having with how to unload assemblies. Now, if you follow his example, check out the RemoteLoader class.. see how...</description><dn247:id>290730</dn247:id><dn247:siteId>74</dn247:siteId></item><item><title>Debugger API (4 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290725.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290725.aspx</guid><pubDate>16 Sep 2004 00:13:31</pubDate><description>I am have problem with Debugging API under C# (Framework 2.0). A am run Debugged process as follows: int size; GetCORVersion(null, 0, out size); Debug.Assert(size 0); StringBuilder sb new StringBuilder(size); int hr GetCORVersion(sb, sb.Capacity, out size); CreateDebuggingInterfaceFromVersion(3, sb.ToString(), out m ICorDebug); Debug.Assert(m ICorDebug ! null); m ICorDebug.Initialize(); CManagedCa...</description><dn247:id>290725</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Dynamically creating satellite assemblies with embedded resources (4 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/290731.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290731.aspx</guid><pubDate>16 Sep 2004 00:13:31</pubDate><description>I'd like to create a satellite assembly dynamically, embedding rather than linking resource files. I know I can use the assembly linker (al.exe) to embed a .resources file, but I'd like to do it programmatically, using something like the AssemblyBuilder class. This is the same question that Nick Carter asked before. I've pasted his post below, it case it clarifies things for anyone. Nick Cases ori...</description><dn247:id>290731</dn247:id><dn247:siteId>74</dn247:siteId></item><item><title>Application Domains (11 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290736.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290736.aspx</guid><pubDate>16 Sep 2004 00:13:30</pubDate><description>I have a question regarding app domains. I have a Windows Forms .NET application. If I open two instances of my application, will they get loaded into two application domains in the same process or two processes will be created for the two instances? Thank you,</description><dn247:id>290736</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Type Resolution blues - TypeDescriptor.GetConverter fails for external assembly (4 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290739.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290739.aspx</guid><pubDate>16 Sep 2004 00:13:30</pubDate><description>Hi folks, I have a problem with obtaining the TypeConverter for a Control which is defined in an external assembly. The problem is that TypeDescriptor.GetConverter() fails to retrieve the proper converter instance, whereas creating the converter manually by inspecting the TypeConverter attribute of the property and instantiating the instance through its construcor works fine. To make it even weird...</description><dn247:id>290739</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Dynamiclly loaded assemblies and IsDefined (5 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290755.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290755.aspx</guid><pubDate>16 Sep 2004 00:13:28</pubDate><description>Hi, I'm running laps around this, need some fresh input. I'm writing a component that runs in asp.net 1.1 (no sp) which dynamically loads assemblies from a shared store. Each of theese assemblies contains one or types marked with a custom attribute. When iterating and checking theese types IsDefined won't return true even for types where the attribute is present. Retrieving the attributes and manu...</description><dn247:id>290755</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>CLR Hosting - exception handling? (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290750.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290750.aspx</guid><pubDate>16 Sep 2004 00:13:28</pubDate><description>Hi I'm hosting the CLR in my win32 unmanaged application, it's all working really well however I have one issue left to resolve. When a managed exception is raised, it is propagated to the win32 host as an ole exception. Is there a way to get access to the managed exception object (I want to get access to the stack trace)? It seems the com interop is changing the way unhandled exceptions are dealt...</description><dn247:id>290750</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>How to get caller's "this"? (7 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290740.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290740.aspx</guid><pubDate>16 Sep 2004 00:13:27</pubDate><description>Given this code class A { void Foo() { B b new B(); b.Bar(); } } class B { void Bar() { ... } } In the body of the Bar() method, how can it get a reference to the instance of the &amp;amp;quot;A&amp;amp;quot; object that called it? I am not interested in the method information or type information of the object... I need a reference to the actual instance of &amp;amp;quot;A&amp;amp;quot;. It must be possible with reflection or diagnostics, but I can...</description><dn247:id>290740</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Out of memory exception: Assemly.CreateInstance, Help me out (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290735.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290735.aspx</guid><pubDate>16 Sep 2004 00:13:26</pubDate><description>Hi, I have been facing a out of memory exception with Assembly.CreateInstance, I am using Assemly.CreateInstance in a asp.net program to instantiate a particluar class, gradually the memory for aspnet wp.exe grows...and ultimately i get out of memory exception at the point: Assembly.CreateInstance Please help me out, You can mail me at: narasimha.gm@gmail.com </description><dn247:id>290735</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Debugger fails under unit test runner (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/56/284206.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284206.aspx</guid><pubDate>16 Sep 2004 00:13:26</pubDate><description>Hi, I have a custom CLR debugger which uses standard CLR Debug API. Most of the time is works perfectly, but when it's run under unit test runner a DllNotFoundException is thrown. The problem seems to arise in CordbRCEventThread::FlushQueuedEvents when instance of IJWNOADThunk is created (see full stack below). Does anyone have idea what might be the problem? I figured out that there's article in ...</description><dn247:id>284206</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Significant delay while unloading temporary AppDomain (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290729.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290729.aspx</guid><pubDate>16 Sep 2004 00:13:25</pubDate><description>I dynamically load assemblies to discover whether they support certain interface or not. Then I unload this temporary domain by calling AppDomain.Unload method. I don't understand why but this call cause significant delay up to 30 seconds. Can anyone explain why AppDomain.Unload delays execution of the problem for so long. My app is former VC 6.0 application migrated to MC . The class which actual...</description><dn247:id>290729</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Assembly.Load() with alternate subdirectory for other assemblies which have dependencies (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290728.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290728.aspx</guid><pubDate>16 Sep 2004 00:13:25</pubDate><description>I have a question about dependent assemblies of asseblies that are loaded with Assembly.Load(). I have a directory structure with the following format: C:\temp\ myApp.exe OurCompany.Common.dll (version 1.5.0.0 with common routines, strongly signed) C:\temp\ExternalLibrary ExternalLibrary.dll OurCompany.Common.dll (version 1.2.0.0 with common routines, strongly signed) From &amp;amp;quot;myApp.exe&amp;amp;quot;, the followi...</description><dn247:id>290728</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Bug in System.ComponentModel.PropertyDescriptorCollection.RemoveAt (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/56/284219.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284219.aspx</guid><pubDate>16 Sep 2004 00:13:24</pubDate><description>The following program reproduces a bug in System.ComponentModel.PropertyDescriptorCollection.RemoveAt: Removing any but the last item of the collection generates a System.ArgumentException. Start code to reproduce bug pre namespace PropertyDescriptorCollectionBug { class HasAProperty { public int Test1 { get { return 1; } } public int Test2 { get { return 2; } } static void Main(string[] args) { S...</description><dn247:id>284219</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>IMetaDataImport System.ExecutionEngineException problem (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/290742.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290742.aspx</guid><pubDate>16 Sep 2004 00:13:23</pubDate><description>I've been defining the IMetaDataImport interface in C# and so far I got all the Enum* method working. I'm having a hard time with all the Get*Props methods like GetFieldProps, GetParamProps .... My issue is with the void const **ppValue parameters. I've tried many solution to get theses calls to work and it always fails on that parameter and I get an System.ExecutionEngineException throwned. Anyon...</description><dn247:id>290742</dn247:id><dn247:siteId>74</dn247:siteId></item><item><title>get Relative Virtual Address (RVA) of a FieldInfo (4 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290746.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290746.aspx</guid><pubDate>16 Sep 2004 00:13:21</pubDate><description>Hello, My question is related handling assemblies and IL files. I am trying to find out a way to get the RVA of a field in an assembly and would appreciate any help. Here is more details: I load an assembly and get a Module. Then using GetFields(), I get the list of static fields in that Module. The items of this list are of type FiledInfo. Now the question is, when the &amp;amp;quot;Attributes&amp;amp;quot; property of on...</description><dn247:id>290746</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Creating an appdomain (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/290753.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290753.aspx</guid><pubDate>16 Sep 2004 00:13:16</pubDate><description>I want to execute two instances of a c# windows app exe in two different domains. If I simply execute the exe twice, the windows form does not seem to be showing twice as i would expect. However I think it should be possible if I execute the assembly in separate domains. Please let me know if it is possible. And if not then why its not possible. Thanks. Alok. </description><dn247:id>290753</dn247:id><dn247:siteId>74</dn247:siteId></item><item><title>about Application to link resourcese file !Please help me (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290752.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290752.aspx</guid><pubDate>16 Sep 2004 00:13:15</pubDate><description>Hi all: I have some trouble that is I use the al.exe to link a resources to a Application, but it's failed. If i debug in Vs.net the Application would be work well with the resources.I want to change the language when the Application is running,but need not to rebuid. I have tow resources of language is strings.pt br.resx(english) and strings.resx(chinese) if this resources is building with the Ap...</description><dn247:id>290752</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Assembly loading (2 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/290751.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290751.aspx</guid><pubDate>16 Sep 2004 00:13:15</pubDate><description>I have a question regarding assembly loading.Basically I am asking whether or not the assembly loader can load multiple versions of the same assembly if: 1. The assemblies are strongly named and lies in the GAC 2. The assemblies are strongly named and lies outside the GAC 3. The assemblies are not signed and loaded using the Load method with a partial qualified reference(incomplete four part name)...</description><dn247:id>290751</dn247:id><dn247:siteId>74</dn247:siteId></item><item><title>Managed EXE DLL Injection (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290748.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290748.aspx</guid><pubDate>16 Sep 2004 00:13:14</pubDate><description>Hi, I am writing some kind of an encryptor for.NET assemblies, This require me: A. To encrypt the IL code ( done successfully ) B. To enable transparent means of decrypting the IL code on run time in a way that the encrypted DLL will stay independent. Concerning the latter issue, to achieve custom functionality upon EXE startup I am trying to inject a DLL to an existing PE image, this is done by a...</description><dn247:id>290748</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Reflection and (un)loading assemblies? (2 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/290747.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290747.aspx</guid><pubDate>16 Sep 2004 00:13:14</pubDate><description>Hi! When I'm loading an assembly to reflect over it's types without ever instancing a type in it, and then let the GC collect the related Assembly object, will it be unloaded or stay in memory until the application ends? The scenario is that one of my projects reflects over every DLL in a subfolder whether it is a plugin or not, preferably I wouldn't want to have DLLs loaded during that process wh...</description><dn247:id>290747</dn247:id><dn247:siteId>74</dn247:siteId></item><item><title>Statically referenced assemblies are not loaded at startup ... Why (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290744.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290744.aspx</guid><pubDate>16 Sep 2004 00:13:13</pubDate><description>have .NET component Definitions.dll which contains only definition of interface IComm. I also have components which contain implementations of that interafce. Let say components are Comp1.dll, Comp2.dll and Comp3.dll. These components contain 3 different classes Class1, Class2 and Class3 respectively. Each of these classes is different implementation of IComm interface. I also have an app which st...</description><dn247:id>290744</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>kb837318 (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/290743.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290743.aspx</guid><pubDate>16 Sep 2004 00:13:13</pubDate><description>I wonder as to whether Microsoft will ever fix the bug described in http://support.microsoft.com/default.aspx?scid kb;en us;837318 . The problem is that I cannot use Win32 threads in an ASP .NET Web Service, because Win32 threads are always unmanaged and seem to be created in a default IIS application domain, while a web service runs in its own domain. The article says that &amp;amp;quot;you may notice the pro...</description><dn247:id>290743</dn247:id><dn247:siteId>74</dn247:siteId></item><item><title>Public Enum Type Declaration (How to Question) (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290738.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290738.aspx</guid><pubDate>16 Sep 2004 00:13:10</pubDate><description>How can I declare a public enumeration that can be used in MORE than one class as a property type? When I declare the enumeration as public in a module and then attempt to use it as property type I receive the following message: 'MyProperty' cannot expose a Friend type outside of the Public class 'MyClass' If this is not possible are there any suggestions for a work around?</description><dn247:id>290738</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Iterating through Global Assembly Cache (GAC) ... (7 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290737.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290737.aspx</guid><pubDate>16 Sep 2004 00:13:10</pubDate><description>Can anyone explain whether I can programmatically iterate through Global Assembly Cache (GAC) and discover the assemblies that support the certain interface? I know that I can discover the assemblies that support the certain interface located in specified (let say plug in) directory, but I can't find any way to iterate through GAC. Please help. Thanks.</description><dn247:id>290737</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Renaming typedefs using the unmanaged reflection API (is it possib (4 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290732.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290732.aspx</guid><pubDate>16 Sep 2004 00:13:07</pubDate><description>Hi, I am using the unmanaged reflection API ( e.g. IMetaDataImport, IMetaDataEmit, â ) and I wonderâ . I couldnâ t find a way renaming a Field/Method nameâ How could I do that? Concerning fields, I have tried to delete the filed and re create the field with a different name; however the runtime doesnâ t recognize the new field upon executionâ How can I rename a method/field name??? is it possible ...</description><dn247:id>290732</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>ICorProfilerInfo::SetFunctionReJIT causes deadlock (5 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290727.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290727.aspx</guid><pubDate>16 Sep 2004 00:13:06</pubDate><description>I've implemented a CLR Profiler using ICorProfilerCallback and the Profiler API. I'm calling ICorProfilerInfo::SetFunctionReJIT() from a separate thread. However, ICorProfilerCallback::JITCompilationStarted() doesn't get called. Instead, when the function that should be ReJIT'd is called, the CLR Runtime hangs. You can find a great description of the problem from here: http://groups.google.com/gro...</description><dn247:id>290727</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>std console output for windows based app (?) (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290726.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290726.aspx</guid><pubDate>16 Sep 2004 00:13:06</pubDate><description>Hi, (*) I am writing an unmanaged application that hosts managed assemblies ( e.g. CorBindToRuntimeEx ) my app may host window based PEs and Console based PEs, the host is a single executable and should be able to host the two types of the PEs. (*) When Hosting a consol based app ( managed ) I can't see the std output generated by the app. (*) The host is compiled as a Win32 project (windows based...</description><dn247:id>290726</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Need help to detect code changes in .net assemblies (5 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/290723.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/290723.aspx</guid><pubDate>16 Sep 2004 00:13:04</pubDate><description>Hi, I want to find out a way to distinguish between modified dlls (meaning there has been a code / resource change) and unmodified dlls in of a build. Because of the MVID and version info, the assembly gets modified each time I rebuild the project(even without modifying anything in the code). But I want to find out a way to detect whether the dll actually changed or not. One possible way to approa...</description><dn247:id>290723</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>enumerations as parameters, VB, and the value 0 (25 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/56/284220.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284220.aspx</guid><pubDate>28 Aug 2004 19:53:38</pubDate><description>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: Module Module1 Enum Bar Bar0 0 Bar1 2 Bar2 4 End Enum Structure Foo Dim field1 As Int32 Dim state1 As Bar Dim ...</description><dn247:id>284220</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Decimal: fixed-point or floating-point (23 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/56/284240.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284240.aspx</guid><pubDate>28 Aug 2004 19:53:31</pubDate><description>It's been pointed out to me that, contrary to my long held beliefs, the documentation for System.Decimal claims that it's a fixed point data type. I reckon this is entirely incorrect it's a floating point data type in base 10. After all, here's another section from the docs: quote The binary representation of an instance of Decimal consists of a 1 bit sign, a 96 bit integer number, and a scaling f...</description><dn247:id>284240</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>CLR Strange Computation (21 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/55/275737.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/55/275737.aspx</guid><pubDate>28 Aug 2004 19:53:28</pubDate><description>Here is a weird error. I am doing simple addition in VB .NET 2002. Below is the code I ran from the command window. ?11075.04 1814.20 12889.240000000002 It should return simply 12889.24. Strange, but interesting to note. Moral: Make sure to do some rounding using addition in .NET 2002. This simple problem caused us some major problems in validating financial information.</description><dn247:id>275737</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Internal constructor "visible" outside of assembly. Compiler bug? (20 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/56/284237.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284237.aspx</guid><pubDate>28 Aug 2004 19:53:22</pubDate><description>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 tier so I do NOT want a reference to the data tier in the presentation tier. In the business tier I have a cl...</description><dn247:id>284237</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Calling base implementation from base class? (13 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/56/284230.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284230.aspx</guid><pubDate>28 Aug 2004 19:53:20</pubDate><description>Is there a way to call a base class implementation of a protected method when Here's the scenario: class MyApp { public static Main() { D obj new D(); obj.Method1(); } } class B { protected void Method1() { } protected void Method2() { //I want to call B's implementation of Method1 even though I'm running as D's implementation of Method2; //conceptually I want to do: this.base.Method1(); } } class...</description><dn247:id>284230</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>"Path 'POST' is forbidden" (5 replies)</title><link>http://www.dotnet247.com/247reference/msgs/56/284235.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284235.aspx</guid><pubDate>28 Aug 2004 19:53:19</pubDate><description>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 routes to the correct page by creating a web request and setting the method to post. (the reverse proxy i...</description><dn247:id>284235</dn247:id><dn247:siteId>74</dn247:siteId></item><item><title>Socket.BeginReceive without callback? (4 replies)</title><link>http://www.dotnet247.com/247reference/msgs/56/284248.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284248.aspx</guid><pubDate>28 Aug 2004 19:53:16</pubDate><description>Something isn't clear (to me) in the documentation. In the &amp;amp;quot;Remarks&amp;amp;quot; section for the Socket.BeginReceive method, it says: You can create a callback method that implements the AsyncCallback delegate and pass its name to the BeginReceive method. Does this &amp;amp;quot;can&amp;amp;quot; imply that the use of a callback is optional? If no callback is specified, can you also omit the State parameter from the BeginReceive call?...</description><dn247:id>284248</dn247:id><dn247:siteId>74</dn247:siteId></item><item><title>Unload assembly (4 replies)</title><link>http://www.dotnet247.com/247reference/msgs/56/284238.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284238.aspx</guid><pubDate>28 Aug 2004 19:53:08</pubDate><description>Hi I know how to load a assembly form specified directory, using Assembly.LoadFrom but How can I unload it? Is there something similar to FreeLibrary? Thanks in advance Javier </description><dn247:id>284238</dn247:id><dn247:siteId>74</dn247:siteId></item><item><title>Weak Reference Race Condition (17 replies)</title><link>http://www.dotnet247.com/247reference/msgs/55/275711.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/55/275711.aspx</guid><pubDate>28 Aug 2004 19:53:03</pubDate><description>If I have an object held only by a weak reference, and I write code that looks like: dim strongRef as Object if wr.IsAlive() then strongRef wr.Target else strongRef new MyObject() end if There is a fairly signifigant race condition between the &amp;amp;quot;wr.IsAlive&amp;amp;quot; call and the wr.Target call, the object could be garbage collected. To the best that I can find, there is no mechanism by which I can lock the ...</description><dn247:id>275711</dn247:id><dn247:siteId>74</dn247:siteId></item><item><title>How to associate a GACed assembly with run-time version? (8 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/56/284205.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284205.aspx</guid><pubDate>28 Aug 2004 19:52:57</pubDate><description>Hi all, I have an application that collects GACed assemblies published by Microsoft only and their types using Fusion APIs. The application's written using VS.NET 2003. I'd like for the application to only target run time v1.1 GACed assemblies. I've managed to isolate Microsoft's assemblies by validating PublicKeyToken. The problem I'm having is trying to figure out how to associate an assembly in...</description><dn247:id>284205</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>SpinWait.... (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/56/284231.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284231.aspx</guid><pubDate>28 Aug 2004 19:52:56</pubDate><description>What is an iteration with respect to Thread.SpinWait...... Cheers Ollie </description><dn247:id>284231</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Question on GC and delegates (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/56/284225.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284225.aspx</guid><pubDate>28 Aug 2004 19:52:43</pubDate><description>I posted this problem originally on the xml group. I have an app that processes XmlDocument and uses XmlElement.GetElementsByTagName quite liberally for various operations. It appears that the XmlNodeList (actually a subtree) returned by this method internally hooks itself to the document's NodeInserted and NodeRemoved events. After a while, inserting an element into the document takes close to 12...</description><dn247:id>284225</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>fatal error CS0007: Unexpected common language runtime initialization error - 'The specified module could not be found. ' (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/56/284233.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284233.aspx</guid><pubDate>28 Aug 2004 19:52:34</pubDate><description>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 IIS) the application. The strange piece seems to be that it references a non existant DLL (see below follow...</description><dn247:id>284233</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Determine if assembly is loaded from GAC (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/56/284227.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284227.aspx</guid><pubDate>28 Aug 2004 19:52:33</pubDate><description>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). Is there any way to get to the Assembly objects themselves? Thanks. </description><dn247:id>284227</dn247:id><dn247:siteId>74</dn247:siteId></item><item><title>ReflectionOnly and custom attributes (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/56/284221.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284221.aspx</guid><pubDate>28 Aug 2004 19:52:28</pubDate><description>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 depended assembly first does not work too. Is there a workaround for this? Sean</description><dn247:id>284221</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Debbuger under .Net (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/56/284250.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284250.aspx</guid><pubDate>28 Aug 2004 19:52:20</pubDate><description>Hello. I am use debugging API under .Net and have one problem. It is a function which is called for single stepping a debugging. void CDebuggerServices::Step( const bool const wantToStepIn ) { ICorDebugThread *currentThread NULL; ICorDebugStepper *threadStepper NULL; ICorDebugFrame *activeFrame NULL; ICorDebugILFrame *activeILFrame NULL; ICorDebugFunction *activeFunction NULL; ISymUnmanagedDocumen...</description><dn247:id>284250</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Using same Config file for multiple projects? (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/56/284247.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284247.aspx</guid><pubDate>28 Aug 2004 19:52:18</pubDate><description>Can we use the same App.config file for multiple projects each having a different .exe name? Thanks Sunmax </description><dn247:id>284247</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>IMetaDataEmit-&gt;DefineCustomAttribute returning E_INVALIDARG - bug? (5 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/56/284246.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284246.aspx</guid><pubDate>28 Aug 2004 19:52:18</pubDate><description>I am doing some work on a very large assembly (lots and lots and lots of methods in here). I have created a new method and it gets assigned a token of 0x06000822. I then go to add a custom attribute to it, but DefineCustomAttribute returns E INVALIDARG (this is v1.1). Using the disassembly view in VS.NET and the SSCLI source (which thankfully is very close), I was able to determine the following: ...</description><dn247:id>284246</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>IL .data equivalent in C# (2 replies)</title><link>http://www.dotnet247.com/247reference/msgs/56/284245.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284245.aspx</guid><pubDate>28 Aug 2004 19:52:18</pubDate><description>What is the equivalent of the Intermediate Langauge instruction .data in C#? </description><dn247:id>284245</dn247:id><dn247:siteId>74</dn247:siteId></item><item><title>Non-internet application wants to connect over internet (7 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/56/284244.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/56/284244.aspx</guid><pubDate>28 Aug 2004 19:52:18</pubDate><description>I have a little desktop application (it happens to be a Windows Forms analog clock) that's written in VB.Net (2003). I placed a shortcut in my Startup program group to start it up when I log on. I have put no code in the application whatsoever to do internet communications, and yet when it starts up at logon I've begun getting notification dialogs from my software firewall that the app wants to co...</description><dn247:id>284244</dn247:id><dn247:siteId>74</dn247:siteId><dn247:highlight>True</dn247:highlight></item></channel></rss>