| StreamReader and Control Characters (15 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Currently I have a class set up to use StreamReader for it's encoding abilities and am using the "ReadLine" function. In the text coming in I have a paragraph character embeded (char 182). I can see it in the file when I dump it to binary format so I know it is there. However when I use the "readline" method is removes it and scrunches the data at both sides of it. In review of the ReadLine it sta... |
|
| "Application Domain"..... (3 replies) |
| microsoft.public.dotnet.framework.clr |
| Is there a tool that will allow me to look at a .Net executable and list the currently existing app domains at runtime? |
|
| ContextBoundObject Attribute question (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi! I rewrote a Custom Attribute sample to supply tracing functionality to a context bound class thru an attribute. The thing is that I would like to continue nested tracing inside the class, but since a method call, in an object, that calls another method on itself seems not to be performed thru the same context my added tracing functionality is not called. tracing is only performed on method cal... |
|
| Will 2.0 of the clr have support for covariant returns? (7 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Will 2.0 or some other future version of the clr have support for covariant returns? |
|
| Code size effects on application performance (3 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hello, I am searching for information on the performance impact/implications of using large assemblies ( 1MG). Is an assembly loaded fully into memory? Or are the classes loaded as they are needed? As far as execution time, you take a one time hit at application load, correct? And even so, is it more than a few milliseconds? In my situation, I have a library assembly that has grown to just over 1.... |
|
| Reflection to get objects that implement interface / or in namespa (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hello, I wanted to know if it is possible to use reflection to get a list of all classes that implement a given interface. If not, is it possible to get a list of all classes that exist in a given namespace? Thanks, Dinesh |
|
| Can't find a way to get the ICeeGen interface (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi, 1. I am writing some kind of a CLI Linker 2. I am using the unmanaged meta data API. I wonder browsing "cor.h" I have encountered the 'ICeeGen' this interface is retrieved by the 'ICorModule' interface, I didn't find any API that provide me the means to get an 'ICorModule' interface, how should I get this interface? What object should i create? what method should I call? Any comments remarks o... |
|
| .NET + ActiveX control firing many events = continous memory leak (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi, First my conclusion (I hope someone can tell me I'm wrong) followed by a problem description. CONCLUSION: When an activex control is used in any .NET application and the control uses events to continuously pass data to the .NET application the result is that memory is allocated by the CLR but never deallocated. I believe this behaviour should be evident in any activex control that uses events ... |
|
| Question on Memory Allocation (4 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Let's say I have this object: public class void MyTest() { public string str1 [1k worth of text]; public string str2 [1k worth of text]; public string str3 [1k worth of text]; public string str4 [1k worth of text]; public string str5 [1k worth of text]; } MyTest tmpTest new MyTest(); ..NET requires ~5k of continuous free memory to allocate this object, correct? The object instance and the string i... |
|
| Null Object Reference Exception (7 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi, I am developing an application for a sales agency. I am connecting to a component which exist in a remote server. I am using some configuration settings in my client configuration file. When I run my program, it is throwing an Null Object reference exception. Please give me a solution to this problem.. Robert Maria Joseph |
|
| clr vs pe (3 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| what is the difference between clr code and pe code ( i mean, low level file format, memory placement etc)? |
|
| assembly loading question (3 replies) |
| microsoft.public.dotnet.framework.clr |
| I'm confused that only the strong name assembly can't load successfully for different AssemblyVersion, or it works on every assembly? |
|
| String.IndexOf (4 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| For some reason my index of is not finding my string. If I understand correctly my code below should upper case the string being searched (within an internal buffer), upper case the string to find and return the index value. Well it is finding the last occurence and skipping the first occurence. Is there something I am not understanding correctly? icnt strBuffer.ToLower().IndexOf(strOuterTag.ToLow... |
|
| Br vs Br_s while Emiting a Switch Statment (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| I am dynamically Emitting a switch statement using System.Reflection.Emit. I have used the ILDASM and copied a switch statementâ s syntax as a reference. I run my code to build the function and I got an Illegal One Byte branch exception. I figured out that the first couple of (break;) jumps use Br and the rest use Br S. I then wrote another switch function example with a different number of cases ... |
|
| ICorProfilerInfo::GetModuleInfo doesn't have argument for assembly (2 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| According to the profiling documentation I have, ICorProfilerInfo::GetModuleInfo has the following prototype: HRESULT GetModuleInfo( ModuleID moduleId, LPCBYTE **ppBaseLoadAddress, SIZE T cchName, SIZE T *pcchName, WCHAR szName[], mdModule *pModuleToken, AssemblyID *pAssemblyId ) However, I get a compilation error when I try to use it with all 7 arguments. Specifically, AssemblyID doesn't seem to ... |
|
| bool - thread safety (10 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| hi all, this is what the clr docs say about boolean: This type is safe for multithreaded operations does this mean i can access a bool object from any thread without worrying about sync issues? pretty sure that's it, but just wanna make 100% sure. thanks, rh |
|
| what language did microsoft use to develop .net framework (4 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| what language did microsoft use to develop .net framework and can i use c# to build APPLICATION that interact directly with the hardware thanks |
|
| generating an EXE with an assembly with the unmanaged API (3 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi, I'm trying to read a managed executable, modify the code in the executable's methods, and then write it to a new executable. I use IMetaDataImport to gather the metadata and IMetaDataEmit to generate the new metadata. I then write the information from IMetaDataEmit to a file via EmitMetaDataEx in the ICeeFileGen interface. This works fine for the metadata. In order to read the manifest informa... |
|
| threading Vs delegates for Async processing (4 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Is it better to use threading or delegates for Async processing? I mean in performance, or IL generation, etc. Thanks a bunch |
|
| Time Consuming to access a Proxy Class (5 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Dear All, I have a Proxy class in my remote application. I created object of that class in my client application. My client makes a call to that object and I am doing some process using that object. But it is taking too much time to execute. I dont know what to do. Hanged up in code. Please provide me a suggestion. Regards, Ladis (MCP) |
|
| A fundamental question about CAS (3 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi After delving into CAS for long days, i begin to understand its security model. BUT, there is still something i don't understand : CAS will treat only .NET written program. So it will never see the others like those written in VB6 or assembly. Considering not all the program won't be written in .NET languages, how CAS is interesting for Administrators? Thanks John |
|
| ThreadID to Thread Handle (5 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Hi, Once we have the"Thread ID" by using GetThreadID() or GetHashCode(), how can we get the Thread handle by using this "Thread ID"? thanks for reply |
|
| assembler code (5 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| how to write .net code using masm? |
|
| String - Counting occurences of a character in it (5 replies, VIP) |
| microsoft.public.dotnet.framework.clr |
| Under MFC I use to do a replace and capture the number of times an item was replaced. In the CLR I have not been able to locate a way to do the same type thing short of replacing an item with spaces then subtracting the lengths of the string to get my value. Is there a function/method that will do this for me? |
|
| ClickOnce in VS 2005 Beta 1 ? (6 replies) |
| microsoft.public.dotnet.framework.clr |
| Has anyone gotten ClickOnce to work with VS 2005 Beta 1? I tried the simplest of apps, Published it using VS 2005, and am getting the following error when clicking the published link: "Deployment manifest requires publisher and product specified." Indeed, the manifest contains this line, where "publisher" is empty. description asmv2:publisher "" asmv2:product "test" xmlns "urn:schemas microsoft co... |
|