| Design Advice to avoid Gen 2 collections (12 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| All, This Blog by Rico Mariani has really opened my eyes to the importance of cleaning up objects as soon as possible (http://blogs.msdn.com/ricom/archive/2003/12/04/41281.aspx). But what I am faced with now is how to best architect my app when I KNOW there are objects that will be created at the beginning of a page request and last until the end of the page request. Example: Page request Page obj... |
|
| ANN: 9Rays.Spices.Net v3.4.2 released (2 replies) |
| microsoft.public.dotnet.framework.clr |
| New version of Spices.Net v3.4.2 has been released. A lot of improvements, corrections and bug fixes. 1.. Spices.Net Decompiler: Significantly improved speed of GUI output. 2.. Spices.Net Decompiler: Incorrect work with stack bug is fixed. 3.. Spices.Net Decompiler: new improvements, corrections, fixes and code optimizations, improved quality of decompilation. 4.. Spices.Net Obfuscator: Own PEVeri... |
|
| duplicate assemblies in GAC (5 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| In the GAC there are duplicate assemblies like System.Design, Native Images, 1.0.5000.0, b03f5f711d50a3a... How is it possible ? |
|
| MSIL Optimizer? (8 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| is there any tool which can optimize msil? for example: if (a is MyType) { MyType mt (MyType)a } could turn into: MyType mt mt as MyType ; if (mt! null) { } Maybe there are much more such situations. I know that the jitter *could* do such Optimisations, but does it? cody Freeware Tools, Games and Humour http://www.deutronium.de.vu || http://www.deutronium.tk |
|
| Finding Implemented Interfaces with Reflection (3 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Does anybody know how to retrieve only the implemented interfaces of a specific, class, not those that are implemented by inherited classes? Type.GetInterfaces() gets me everything, but I'm only interested in the immediately implemented interfaces. It looks like GetInterfaces() returns the interfaces in order of the implementation hierarchy more or less, but I still can't tell from there where my ... |
|
| OLE controls! HELP (3 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| I love OLE controls. I have an application I wrote in VB 6 using the OLE control, I need to upgrade it to .NET but there is no OLE controls in .NET. HHHHHEEEEELLLPPPP! Anybody Please!!! From: Noel Garcia Posted by a user from .NET 247 (http://www.dotnet247.com/) Id m1PbQxV/hkGfxd7IQqcyDg /Id |
|
| unmanaged old static library, how to call its functions from managed code in Win Forms, VC++ ? (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Yes I did some research on google but nowhere I could find a working example. I have a header file and its .lib/static library. I'd like to design an UI application using Windows Forms which seems cool but.......... I can NOT call a regular unmanaged static library's method. it tells me in fact those methods don't have the gc (garbage collection method). IJW ??? is that the answer ??? do I have to... |
|
| how to call an unmanaged static library's member from winforms ? (4 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| how to call an unmanaged static library's member from winforms ? |
|
| Find parent object? (7 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Consider an class object: Public Class DataLink Sub New() ' Is there anyway to get an pointer to the parent object here? End Sub End Class Which is used as a field in another object class: Public Class ParentLink Private m DataLink As New DataLink End Class Created as follows: Dim X As New ParentLink When this statement is executed, the New() method is called in DataLink. Is there anyway in this m... |
|
| R6025 error during VisualStudio shutdown. (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi All, Laucnhing a VC7.0 custom wizard using DTEClass of ENVDTE namespace. Subscribed to events like OnBeginShutDown,AfterClosing... During manual close of the wizard generated program getting R6025 error after exitting hte OnBeginShutDown event handler in my program. Any help is appreciated. Regards, Ramesh |
|
| diassembling a program into IL (3 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi If I compile a program I've got program.exe with ILDASM I've seen that it is possible to diassemble the program.exe to the IL format in this way, isn't it to easy for someone else modify my code? is there a way to prohibit the diassembling of my code? |
|
| Sorting (6 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi All, I have an xml file as listed below. This is a list of scripts. Some of the scripts depend on the output of other scripts. I want to sort this xml in such a way that the scripts are listed in the correct order of execution. I created an IComparer class and implememted the Compare method. I am calling Array.Sort on an XmlNode array. The sorting is not correct. Can anyone suggest a correct al... |
|
| Instance members change after it's constructor returns (6 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Here's an example, this is the constructor for an object (plus a member it initializes): public class MyObj { //etc. private Hashtable idlist; public MyObj (string localityName) { // etc. idlist new Hashtable(); } //etc } Under the debugger, as I step into this constructor and create a new Hashtable, it is empty, which is perfectly rational. As I step OUT of the constructor, I see in the caller th... |
|
| Avoiding Memory Leaks, debugging, measuring Performance (5 replies) |
| microsoft.public.dotnet.framework.clr |
| Hi All, I am involved in the designing a Thick Cleint Server application(employing Win Forms). I am faced with the following issues: a) Handling / Avoiding Memory Leaks b) Performance Checks c) Debugging Can anyone send me resources/urls on 'the best practices' to follow in terms of the above issues. What tools/functionalities are provided by MS in view of the above and any good third party tools?... |
|
| how to call an unmanaged __fastcall function from CLR in C/Winforms ? (6 replies) |
| microsoft.public.dotnet.framework.clr |
| I 'managed' to be able to call a regular unmagaged function from within a clr bases winforms, but.... I can not call functions that are compiled as fastcall.... there has to be a way, otherwise how would be possible for the world to migrate or use old static libraries ??? |
|
| CLRProfiler Managed Windows Services (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Folks Has anyone been able to start a managed windows service through CLRProfiler and actually get it to profile? I've gone through the sparse posts that exist out there and my situation is the same. I get the "Waiting For Connection" box. I verified that the service is being started using Process Explorer but "profilerOBJ.dll" is not getting loaded. Any suggestions? Do I need to resort to modifyi... |
|
| Profiling NGEN'ed modules (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi. My profiler needs to profile some of the Framework libraries, and so the contents of the native image cache need to be changed. I would really like to be able to just do a "ngen.exe /prof mscorlib.dll" and then have this version or mscorlib picked up when profiling (and when not profiling, have the defeault native image loaded). However, this does not happen, and it appears that I need to eith... |
|
| Severe limitation for IE-hosted .NET controls (classid is truncated to 128 chars) (2 replies) |
| microsoft.public.dotnet.framework.clr |
| 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 same problems. It does (IE Binding log information is below), but I think I'm wrong about the 50 character limitation (the example in my previous post was contrived based up... |
|
| sensitivity of the charcter (3 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi I want to know how can i made comparisn between sensitivity of the charcter i.e I want My Code accept "HASSAN" as "hassan" thank u very much From: Haron Ali Posted by a user from .NET 247 (http://www.dotnet247.com/) Id mvc4CQZ3Qki8hMSshYUQiw /Id |
|
| Statics and threading (4 replies) |
| microsoft.public.dotnet.framework.clr |
| Hi, 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 methods; Open and Close. The connection object within the class is static and has public scope. It is created when the ap... |
|
| common language runtime not loaded (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi, 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? |
|
| fatal error JS2008 when compiling a jscript.net assembly (4 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| 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 process This is used to compile the assembly: C:\Inetpub\wwwroot\my web app\bin jsc /t:library FormWidgets.js The problem ... |
|
| question regarding 64-bit processing (5 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Here's something I was pondering earlier: There's a 64 bit version of Windows XP that is supposed to work with AMD 64 bit processors. Now, the huge task of migrating unmanaged code to 64 bit would be monumental (I'm guessing). But given that .NET code isn't natively compiled, rather it gets jitted .. am I to conclude that a 64 bit Windows XP running on a 64 bit AMD processor with the ..NET framewo... |
|
| Strange behavior (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| I have a machine that my networked application won't run on. I have changed the local intranet security to full on other machines and that has been all I needed to do to make it run. However, I have one machine that has a clean OS and .net framework installed on it, but I still can't get it to run the application even though I have chaned the local intranet security on the machine. The error I get... |
|
| Profiler API questions (3 replies) |
| microsoft.public.dotnet.framework.clr |
| Hi Folks, I have 2 questions regarding the clr profiling api. I am using the gcp profiler sample as the basis for the questions. Using ver 1.1 of runtime, vc7. Background: I am working on a project with a public web service interface. This interface is called by a client program. We have tracked some performance issues down to being within the web service code. As far as timing a requests, we rely... |
|