microsoft.public.dotnet.framework.clr Archive - July 2004
Post a message to this list
Messages
Page: 12
How to tell mscoree.dll to load MSCORSVR.DLL? (3 replies)
microsoft.public.dotnet.framework.clr
MSCORSVR.DLL is the multiprocessor build of the CLR. How to load it instead of MSCORWKS.DLL? Thanks.
static members (6 replies, VIP)
microsoft.public.dotnet.framework.clr
Has anyone dealt with putting static implementations in interfaces ? you "can" do it (I am sure in IL) ... I'm wonderring if vb.net and c# play nice when you do it ...
Decompile Attributes (2 replies, VIP)
microsoft.public.dotnet.framework.clr
Is there a means via Reflection to recreate the original C# source of an Attribute? I'm familiar with the process of discovering the public fields, properties and their values, but I'm a bit lost as to how one would know which of these values map to parameters in the constructor. I've seen this done in tools like Reflector, but I fear the only way to achieve this is by investigating the Assembly o...
\BaseNamedObjects\CorDBIPCLSEventReadName remaining handles ... (2 replies, VIP)
microsoft.public.dotnet.framework.clr
Hi, I am working with the dotnet debugger API on windows XP, and when I finish my debugging session using my own debugger, I have uncleaned handles. My debugger is still alive and ready for a new debug run. For instance \BaseNamedObjects\CorDBIPCLSEventReadName 2776 I can't find why thoses handles are not cleaned. I had a look at the source code of the cordbg example, but I can't find what I am mi...
Doubt about Garbage collection (2 replies, VIP)
microsoft.public.dotnet.framework.clr
Hi I am writing a chat application I have developed the chat server in which i am creating objects that represents the communicating parties and those will stay in memory till there is communication between them when they logout i need to destroy the object from the memory Because the application will run forever theoritically i fear that the objects will get accumulated in memory if i dont destro...
Shared memory? (4 replies)
microsoft.public.dotnet.framework.clr
I really don't like the speed bottleneck of SOAP. Is it possible to have shared memory, without using networking calls, within .NET? It seems like even though protected memory was a godsend for memory leaks and unauthorized access type stuff, we should at least be given a leash to take the dog out for a walk for a while. Jon
Assembly path question? (3 replies, VIP)
microsoft.public.dotnet.framework.clr
Is there anyway to locate an assembly from a path that is not relative to the current path without using the GAC? For instance. I have a .net application in C:\DirA\DirB that needs to use an assembly class in C:\DirC. Is there a way to have the exe find the assembly without using the GAC? I read about probing, in the configuration file, but it states that it can only be specified in terms of relat...
Smart client template solution ? (2 replies)
microsoft.public.dotnet.framework.clr
HI! I am currently at the beginning of a new project and I would like to start with something out of the box. As we started our Web project we used IBuySpy Portal and it worked fine because we did not waste our time on authentification, authorisation and all that but we were able to start right with the logic of the application. Is there something like that for SmartClient? I mean template solutio...
Multi-threading article finally "finished" - reviewers welcome (4 replies, VIP)
microsoft.public.dotnet.framework.clr
When thread scheduler sees that thread is waiting on Win32 synchronization objects it immediately schedules context switch to another runnable thread instead of wasting time spinning. shoud read as: When thread scheduler sees that thread is waiting on non signaled Win32 synchronization objects... Valery. http://www.harper.no/valery "Valery Pryamikov" Valery@nospam.harper.no wrote in message news:....
Reflection: InvokeMember and GetProperty/SetProperty (2 replies, VIP)
microsoft.public.dotnet.framework.clr
A while back I've built a bunch of generic Reflection routines that simplify the process of access properties/fields and methods a bit easier by creating wrappers around Property/Field/Method info members. For example: public const BindingFlags MemberAccess BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.Instance | BindingFlags.IgnoreCase; public static object Get...
Old Version of framework libraries (2 replies, VIP)
microsoft.public.dotnet.framework.clr
I have one question How the CLR locates an old version of Frameworks library like System version 1.0.333 and where are store on my machine. I have made a search and I can locate the previous versions of the assemblies. I am sure that they must me somewhere because I am using some tool which I created using those versions. thanks in advance
How to read a microfocus COBOL file from .NET (8 replies)
microsoft.public.dotnet.framework.clr
Hi everybody, Does anyone know how to read a microfocus COBOL file from .NET ? I have a requirement where i need to read these files and store it in a sql server database. I will really apperciate if anyone can help me on this. Thanks *** Sent via Devdex http://www.devdex.com *** Don't just participate in USENET...get rewarded for it!
Extract an assembly from the GAC? (3 replies, VIP)
microsoft.public.dotnet.framework.clr
Is it posssible to get something out of the GAC to another folder? Let's say you put an assembly into the GAC but you deleted the source by accident no less . Any ideas? Thanks
Serialization of Complex objects (4 replies, VIP)
microsoft.public.dotnet.framework.clr
I am creating an application that is quite complex. There will be several dozen objects, most of which have delegates defined. At runtime, there will be several hundred instances of some objects and many dozens of instances of other objects (e.g. 100 ClassA's, 10 ClassB's and 50 ClassC's etc). At runtime though, some objects will be configured to make callbacks to other objects, but this is define...
VB (2 replies, VIP)
microsoft.public.dotnet.framework.clr
Hi, I'm facing a problem for a long time. As I create the installation package from 'VB's package & deployment wizards', my system gets booted in between. Actually I have changed the original setup.exe of VB according to my installation but after this it worked well for some time. moreover, whenever i compile or update my dlls, i copy them to c:\programme files\...\redist so that all the files, ne...
Configuration Error (2 replies, VIP)
microsoft.public.dotnet.framework.clr
Has anyone seen this one? When trying to execute an asmx (i.e. testing a web service I am working on), I get this error which refers to a referenced assembly that I reference that contains business logic: The given assembly name or codebase, 'DriveTime.Services.FaInterop.BussinessComponents.FaHelper', was invalid. Source File: c:\winnt\microsoft.net\framework\v1.1.4322 \Config\machine.config Line:...
Throwing exception from a child domain. (2 replies, VIP)
microsoft.public.dotnet.framework.clr
Howdy, I'm having difficulty throwing any kind of exception from within a secondary domain, and then catching it back in the primary domain. (I'm writing a managed C assembly, Windows XP, Visual Studio .NET 2003). The function foo() runs in the primary domain, creates a child domain, instantiates an object within this domain, invokes some member which throws an exception, then discards the child d...
System.IO.FileSystemWatcher.NotifyFilter + Virus scan (3 replies)
microsoft.public.dotnet.framework.clr
Hi all. I am a little bit confused about this. I have a perfectly working FileSystemWatcher except that when I use this filter : Watcher.NotifyFilter (NotifyFilters.LastWrite Or NotifyFilters.FileName Or NotifyFilters.DirectoryName) I get "Changed events" fired without any detectable (by me at least) file changes when running an antivirus scan. I have tried RAV, TREND and McAfee all with the same ...
String code as hex 0xf failing convert (3 replies, VIP)
microsoft.public.dotnet.framework.clr
I am trying to read a cascading style sheet and am trying to convert and hex values for the color to a decimal value so I can pass it to the drawing class to convert the color. Anyway the string passes the number in lets say as #f. Once I determine this is suppose to be hex I convert it to 0xf. After which I pass the string off to the Convert.Int32 routine and it throws an exception convering impr...
Where inside ROTOR. (3 replies, VIP)
microsoft.public.dotnet.framework.clr
Can you tell me where inside Rotor I can find sources for the MetaData API, I've been searching, just a little, and haven't found anything. I tryed the high comunication between my two apps, as the language you propose, but I got real messy, mainly about tokens and emition order. I think I'll make my own version of Merge. Thanx for your help mate. Erich
How do I re-write an assembly's metadata? (3 replies, VIP)
microsoft.public.dotnet.framework.clr
I need to open an assembly, change some custom attribute's values and then re write the assembly without re compiling it. I tried using Reflection.Emit, but I couldn't cast (System.Reflection.)Assembly to (System.Reflection.Emit.)AssemblyBuilder, which is the class where custom attributes are writeable (in System.Reflection.Assembly they're just readable) and has a "save" method. What's the differ...
Must you really pin delegates when marshalling them as function pointers? (2 replies, VIP)
microsoft.public.dotnet.framework.clr
Using the May CTP of VS 2005 I read an article "How to: Marshal Unicode Strings using C Interop". That article talks about the need to pin the delegate prior to marshaling it out to native code as a function pointer. But then in the 2nd example it proceeds to NOT pin it and to instead simply do a GCHandle.Alloc(delegate) on it. So, the question is, do you have to pin them or is it enough to make s...
Detecting number of processors (2 replies, VIP)
microsoft.public.dotnet.framework.clr
I want to add "number of processors" to my license control system. I know I can use Environment.GetEnvironmentVariable() to check for the environment variable NUMBER OF PROCESSORS, but I do not know how easy this might be to fake. Would I be better off using a Win32 sdk call to GetSystemInfo? Is there a better way? Which is more reliable? Which is more portable? Thanks!
mscoree.dll and GetFileVersionInfo (4 replies)
microsoft.public.dotnet.framework.clr
Is it safe if I want to check mscoree.dll version to determine .NET runtime version? So far they correspond. I know about GetCORVersion. But I would like to know the answer to my question. Thanks a lot
Timer accuracy (6 replies, VIP)
microsoft.public.dotnet.framework.clr
Hi: I have noticed that the time resolution of System.Timers.Timer and System.Threading.Thread.Sleep() varies significantly between systems of seemingly similar class. For example on my HP Centrino 1.6GHz laptop, I see a resolution of 10ms for the event from System.Timers.Timer and a delay in System.Threading.Thread.Sleep() e.g. if I change the delay in the latter (in a "highest priority" thread) ...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com