| CLR Heap Question (5 replies) |
| microsoft.public.dotnet.framework.clr |
| Hello, I am experiencing a problem with an MDI app that I have written in Visual Basic.Net using the 1.1 version of the Framework. The application "leaks" memory. It appears that, over time, as more and more forms are opened and closed, references to some object are not getting cleaned up in the app (these resources are released when the app is closed, however). When I run the "CLR Memory Bytes in... |
|
| Is there a .NET or C# to native x86 compiler? (12 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Is there a .NET or C# to native x86 compiler? I am not looking for just a prejitter progrom like ngen, but a true native compiler like the gcc for java if there is such a thing. Thanks Andy |
|
| Adding menuitem to project (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| I want to extend the context menu item for a project in solution explorer of VS IDE. Which object to use...? seeni |
|
| nprof 0.5 released (4 replies) |
| microsoft.public.dotnet.framework.clr |
| The nprof 0.5 alpha release is now available. nprof is designed to be not only a fully fledged profiler for .NET applications, but also a complete API that can be used to build other profiler front ends, as well as extend the default GUI with new visualization tools. nprof is Open Source. Changes in this version are: * Improved UI (about box, new project icon) * Fixed sorting faster, doesn't crash... |
|
| Unable to use breakpoint in debugger (3 replies) |
| microsoft.public.dotnet.framework.clr |
| When I run debug with a breakpoint set the breakpoint appears with a "?". When I place the mouse pointer over the breakpoint the following information is provided: "The breakpoint will not currently be hit. No symbols have been loaded for this document." Anyone know how to get the symbols re loaded for a document. The debugger is working fine in other projects. Thanks in advance for any help you c... |
|
| Async Socket: Rising Thread Count (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi all We have been developing a complex TCP socket communication app that is responsible for keeping numerous connections open to clients on routable IPs. The app receives request on a non routable listener socket that marshals communications between the non routable netowrk and the clients out on the routable network. The app runs as a .NET service in Win2K Server. Async sockets are being used, ... |
|
| Parser Error (3 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi, We have a c# dll that is being referenced by a web project (client) which is being referenced by another web project (portal). After building the solution, there are no compile errors and the respective dlls are found in the bin folder of the portal project. During runtime (when browsing the .aspx pages), it throws a parser error 'Could not load type ....' which seems to occur only when the c#... |
|
| Hide base members in intelllisence list (8 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hello, is there a way to hide base class members so they are not list in intellisense dropdown? i.e. I only want to see properties and methods of my derived class. Through some Attribute probably.... Thanks |
|
| MSIL (3 replies) |
| microsoft.public.dotnet.framework.clr |
| Hello Review bellow function and it's generated IL Code: 1 public int F(St arg) { return arg.stID; } 2 IL 0000: ldarga.s arg IL 0002: ldfld int32 St::stID IL 0007: stloc.0 IL 0008: br.s IL 000a IL 000a: ldloc.0 IL 000b: ret Where "St" is a structure like this: public struct St { public int stID; public string stName; } 1 Why loading a Valuetype argument (arg) in line number "IL 0000" generates "ld... |
|
| GAC: Installing DLL which depends on EXE (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi all, first of all, I'm a .NET newbie, and while I have done some basic research and browsing, chances are that my question is trivial and I should simply RTFM; I apologize. Also, if this is not the right newsgroup, let me know. We want to add a .NET wrapper on an existing C application. The way we plan to do this is to write a .NET DLL (let's call it wrapper.dll) which exposes some of the funct... |
|
| Server Application unavailable (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| All, I have been told this not an IIS issue and to look into how the CLR works, so I am posting this here. I have a problem with ASP.NET returning an HTTP 500 error when trying to run ASPX pages on Windows Server 2003 Enterprise Edition Only. This works on Windows 2000, Windows 2003 Web Edition and Standard Edition. The error is a peculiar one. We have installed our application on Windows Server 2... |
|
| Seeking tools/source code to interpret CLI code (3 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi all, I am starting to do some preliminary research in a side project and and looking for your collective wisdom in the area to help. What i want to do is write a CLR that interprets CLI instructions rather than JIT compiling it. I understand enough of the ECMA 335 document to start to build one....but the little voice in the back of my mind is saying that there has to be some code out there tha... |
|
| BUG: memory leak in mscordbi.dll (4 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Only for pedants : I dicovered a memory leak in the interface ICorPublish (mscordbi.dll) ICorPublish::GetProcess(DWORD id, ICorPublishProcess** p) Every time this function is called, it lose 8 bytes of virtual memory |
|
| How to find which window the mouse is in (2 replies) |
| microsoft.public.dotnet.framework.clr |
| In Visual Basic .Net, I am trying to figure out how to get a reference to the open window that the mouse is in. Suppose I select (highlight) text on a web page shown on an Internet Explorer window, and then click on a toolbar item in that window which runs my VB program, and the VB program will copy the highlighted text to the clipboard. I know how to use ShellWindows to loop through the different... |
|
| fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' option (2 replies) |
| microsoft.public.dotnet.framework.clr |
| I'm developing a utility using Visual C .NET standard 2003. When I try to compile a sample code, I got the below error Fatal Error C1190:Managed Target Code Requires '#using mscorlib.dll ' and '/clr' Option. My sample code has a line to include the file called 'mscorlib.dll'. The line of code I am using is: #using mscorlib.dll Can someone help me to solve this issue. |
|
| loading assemblies without typelib (6 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi, I've been investigating hosting the CLR in our app. However, all the examples I have found on the Net where a CLR loads an assembly, it requires the importing of the typelib associated with the assembly. I would prefer a more generic way, akin to LoadLibrary vs linking with the stub .lib for a DLL. I want to write a generic app that can load any assembly, if it has exposed an interface that ha... |
|
| Profiler slows down my .net apps (6 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi need some help here. Since i have run the CLR Profiler, after that my computer start running asp.net application very slow even though i'm close the profiler GUI. Am I missing something here? Do I need to stop some hidden services in order to stop this completly. Also the pipe.txt under winnt/temp also keep growing and i can't delete that file. I've checked the "environment" key in registery an... |
|
| Loading an "embedded" resource using C++ (2 replies) |
| microsoft.public.dotnet.framework.clr |
| Problem 1) I added an icon to the resource files folder in my project. I've look everywhere for the selection "Embedded Resource". I've right clicked to get property pages and used View Property pages. I'm incredibly dense or it just ain't there. So I assumed that C projects do not use the concept of "Embedded Resources". I added the icon to the resource file itself. After I build, I can browse th... |
|
| How to add a strongname key to a assembly created with ilasm.exe(Intermediate Language) or to an already made DLL? (2 replies) |
| microsoft.public.dotnet.framework.clr |
| How can i accomplish this? I want to be able to put a DLL of mine in the GAC(It must have a STRONG name) but the following command is not working: ilasm "my il file.il" /DLL I already tried to: ilasm "my il file.il" /DLL /KEY "key file.txt" but it still didn't work Could anyone enlighten me please? There should be still another way, for already made DLL's/EXE's to turn them as strong assemblies I ... |
|
| .NET OledbCommandBuilder Interface (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| I've to override the getUpdateCommand method of OledbCommandBuilder but I see that OledbCommandBuilder is NotInheritable and I can't implement an interface of that class (because it doesn't exists). Anyone knows what have I to do? Thank you Riccardo |
|
| Win2k Hyperthreading .Net & Processes: ODD! (4 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| I was recently set to release an app that used very common single instance code and hit the oddest issue. After many hours of full build tests I believe that it is duplicatable. Environment: ..Net 1.1 (v1.1.4322) Windows 2000Pro HyperThreading machine Issue: Install 2kPro on the HT box (I use an MSI based 3.06Ghz), fully install all Windows Updates. Create a .Net app using the single instance code... |
|
| WeakReference isalive not working as expected (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hello, I'm having a problem with a weakreference. The situation is that I have some classes in my application that act as a target for a weakreference collection contained in a Singleton instance of another application class. This library application is accessed either by a web application or by a Winforms one, and I used events in my singleton class where everyone subscribed in order to receive s... |
|
| ZeroDeployment, via IEExec, result in a System.DllNotFoundExecption coursed by C (4 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi I have run into a problem using ZeroDeployment. I short, IEExec loads a VB application, which uses a DLL written in C . VB calls into managed C code. The managed C code calls into unmanaged C code. So far, no problem. But when the unmanaged C code does a CreateThread, the error System.DllNotFoundExecption is thrown. Creating our own 'Application loader' can load the VB application and everythin... |
|
| __pin PtrToStringChars (2 replies) |
| microsoft.public.dotnet.framework.clr |
| #include vcclr.h To keep our code a little "cleaner" I'd like to encapsulate the converting of System::Strings to char pointers. I know putting the code in a function will not work because when the pin goes out of scope, the string is no longer locked in memory. Would making the function inline work (keep the pin in scope)? Is there anywhat to test this? Thanks, Steve W inline const wchar t * SysS... |
|
| Help understanding fuslogvw.exe failure status (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| i have a no touch application. it runs on IIS and seems to be working ok, but when using fuslogvw.exe after it has launched i get the msg listed below (after my quiestions). now the odd part. the application runs fine and all the needed dll's are located under /winnt/assembly/download and all of my assemblies are strong named QUESTIONS a/ So im trying to figure out why fuslogvw is saying it is fai... |
|