microsoft.public.dotnet.framework.clr Archive - June 2004
Post a message to this list
Messages
Page: 12
New MSIL Newsgroup (7 replies, VIP)
microsoft.public.dotnet.framework.clr
Microsoft, Can I make a request for a newsgroup specific to MSIL? I have taken great interest in MSIL and have done a lot of reading into MSIL, and written, compiled and tested with success a few il programs. I'm sure this is a topic of interest to many people, as it is at the heart of .Net. If any of you readers/posters are also interested in an intermediate language specific newsgroup, please re...
Get assembly location from IMetaDataImport (2 replies)
microsoft.public.dotnet.framework.clr
Hi, does anybody know how to get the assembly file location from the SDK interface IMetaDataImport? I can get the module name, the assembly name, but didn't find a way to get the location. Thanks. Yang
Assembly Reference (3 replies, VIP)
microsoft.public.dotnet.framework.clr
Hi there I have a peculiar prob. I am trying to build a file with testcases for NUnit in which I want to reference the Assembly with the code to be tested. The source compiles but when I try to execute the file in the NUnit console it doesn't find the Assembly. But if I copy the .dll to the working directory it works. I have tried to change the LIB env variable, set an /lib reference during compil...
CLR error 80004005 (Small percentage) (4 replies)
microsoft.public.dotnet.framework.clr
A small percentage of people (1% or less) are getting the following message running or application. "CLR error 80004005 The program will now terminate." I am not sure where to start looking on this and it is even more difficult since I cna not reproduce it. Any suggestions on how I can help fix there problem or a common place to start them looking. The program was written in C# usnig the 1.1 frame...
install error occuring (2 replies)
microsoft.public.dotnet.framework.clr
while installing an VisualPerl vs2003 1.8.1.2827.msi I get the following error: "devenv.exe mscoree.dll load error (Error code %X). Two different copies of MSCOREE.DLL have been loaded. First copy: Unknown Second Copy: C:\windows\microsoft.net\framework\v1.1.4322\mscorwks.dll This is typically caused by having a registered MSCOREE.DLL that is different from the one that is statically linked with t...
Famework 1.2 (7 replies, VIP)
microsoft.public.dotnet.framework.clr
I just installed the preview release of Windows Longhorn and see that the ..NET Framework version 1.2 is installed as part of the normal Windows build. Has anyone heard of this version of the Framework? Will we see this version of the Framework before Whidbey?
Assembly Version Build Time (3 replies)
microsoft.public.dotnet.framework.clr
We're using the default .Net AssemblyVersion attribute value of 1.0.* For some reason, when we use the version number to calculate the time the assembly was built, it's coming out an hour ahead of the actual time. The algorithm that is used to generate the version number is supposedly: "When specifying a version, you have to at least specify major. If you specify major and minor, you can specify a...
Can the CLR handle a large number of types? (3 replies, VIP)
microsoft.public.dotnet.framework.clr
Hi all, I was wondering whether there is any upper limit on the number of types (classes) that can be used at once in a .net app? And if there is no such limit, does any facet of the CLR (like GC, serialization, object instantiation, etc) degrade in performance with an increasing number of types. Thanks, Sam. Posted by a user from .Net Guru (http://www.dot-net-guru.com/) Id T9 Z 5Og00mO37ElqM15hQ /Id
Custom Attributes and Code Generation (3 replies, VIP)
microsoft.public.dotnet.framework.clr
When you use the [WebMethod] attribute code is generated for you. I need to do the same for our corporate framework. Can someone point me to an article/discussion on how to do? I've seen that XC# does it. Thanks in advance
Deadlock in C#, CreateProcess, MFC (3 replies, VIP)
microsoft.public.dotnet.framework.clr
Hi, I'm having some trouble launching an MFC application from a .NET application. In a Winforms application [written in C#], I use the Process class to start an MFC application. The MFC application creates, automates and destroys several COM objects (including Microsoft Word) in a background thread. Often we will get that the C# application causes the MFC application deadlock, while the C# applica...
Reading MSIL (11 replies, VIP)
microsoft.public.dotnet.framework.clr
Is there some article out there that helps in reading MSIL? I've been looking but can't find anything, and I'm probably just looking in the wrong spots for the wrong keywords. I understand mov, call, jmp, ptr, dword and some of the other obvious pieces. I'm looking to understand some of the less obvious pieces of MSIL so I can better understand how my code is being constructed in release mode. TIA...
Supporting .NET libraries version consistency (3 replies, VIP)
microsoft.public.dotnet.framework.clr
Hi! How can I achieve the situation like that: there is some application (.NET) and it is using some class library (strongly named, installed by .msi, registered within GAC). I'd like to have a crash on my client application when the class library version differs from the one compiled with my application earlier e.g. my app version1 and my class lib version1 works fine but my app version1 and my c...
Conversion between String and byte (2 replies, VIP)
microsoft.public.dotnet.framework.clr
Due to an odd conjunction of stars (trust me, thats a better reason than the real one), I need to store text data in a SQLServer Image column. I'm looking for a cleaner method to convert strings to byte[] and vice versa. So far the only implementation I have been able to make work has been to do an iteration of the array and convert one character at a time in either direction. I've looked into Str...
ArrayList Sort Terminating (4 replies, VIP)
microsoft.public.dotnet.framework.clr
Project C# utilizing the Framework. In my project I have an array list of integers that sorts just fine. Then I have an array list that contains a class that I have built. When I call the "sort" method of the array list and accept the defualt sort arraylist.sort() I get the following error message: "At least one object must implement IComparable.". Does this mean I am going to have to override the...
need the thread id from an API (5 replies)
microsoft.public.dotnet.framework.clr
I'm working on an API assembly that will be used by an application or another API. I don't have any control over when or how threads are created. My API is equipped with tracing for debugging purposes. Since my assembly can be used in by a multithreaded application, I want to put some form of thread identifier in the trace log which will help determine the sequence of events when something goes wr...
strange CLR inner exception with regex (2 replies)
microsoft.public.dotnet.framework.clr
hi, i have a regular expression to identify any valid form of server url, i.e. http://server or http://www.server.com or http://server:8080 or anything in between. very occassionally i'm getting an index out of bounds exception from one of the inner framework methods, when i use Match(). i don't know what the input is because its in a production environment and all debugging is turned off. my code...
Pointers to read about CLR (6 replies)
microsoft.public.dotnet.framework.clr
Hi gurus, I am a newbie for this CLR world. I am trying to know about CLR internals (How things work in CLR and features it provides..more in detail..). Could you please provide few pointers?? TIA, Av.
Linker errors with long type names (2 replies, VIP)
microsoft.public.dotnet.framework.clr
Try to build following code with /clr switch: #pragma unmanaged #include windows.h #include "Loki/Functor.h" #include list int main() { // typedef int TL; typedef TYPELIST 1(int) TL; typedef Loki::Functor void, TL FTor; typedef std::list std::pair FTor, FTor ::iterator Iter; std::list Iter l; return 0; } Linker will produce following error: LINK : error LNK2020: unresolved token (0A000018) std. Co...
Threading - Best practices for sharing data (5 replies, VIP)
microsoft.public.dotnet.framework.clr
Hello, I am trying to create a multi threaded application in C#, without using the thread pool. I have a reader writer situation where I want one thread to write to a queue, and many threads to read from this queue. Also there will be many of these reader writer groupings all working at the same time on different tasks. Each of the tasks will take about an hour to run. There are many variables tha...
Accessing method parameters in call stack frame (2 replies, VIP)
microsoft.public.dotnet.framework.clr
I am trying to examine the call stack using System.Diagnostics.StackTrace and it appears that the StackFrame, Method and ParameterInfo classes that I can navigate to from there only have static (compile time) information available to me. What I need is a way to access the actual (runtime) parameter values for various frames on the call stack. Obviously the VS.NET debugger does this, but how can I ...
Using AddressOf... as a parameter (6 replies, VIP)
microsoft.public.dotnet.framework.clr
Hello Guru's! I am trying to pass a function pointer as a parameter to a method and can't seem to get it working. Basically I want to do the exact same thing that the System.Threading.Thread constructor does in VB.NET within my own class. In the Thread constructor, you can specify the function to run instead of creating a ThreadStart object by using the AddressOf keyword such as; Dim oThread As Ne...
Q: Referencing shared assembly in your project (7 replies, VIP)
microsoft.public.dotnet.framework.clr
I have a set of assemblies that are shared by a number of applications(ASP.NET). I signed the shared assemblies using SN. I would register them in the GAC in production but I was wondering if I need to do the same when I'm developing. Basically, do I need to install the shared assemblies in my workstation's GAC as well? Or is there another way to reference them without utilizing the GAC while deve...
Q: assembly signing (3 replies)
microsoft.public.dotnet.framework.clr
Ok, this may be a stupid question but do I need to generate public/private key pair for each assembly in a single solution? I am thinking about delay signing and that'd mean the "signer" must maintain the key pair for every single assembly separately. Is this how it's supposed to be done? Also, this is kind of on a side note. I've read somewhere that having a single combined assembly is better tha...
Only launching assemblies from one publisher (myself) (3 replies)
microsoft.public.dotnet.framework.clr
Hi I am strongnaming all my assemblies in this project with a public/private key pair (same key pair for all assemblies). One of the application is a launcher application that shells out an application downloaded from a webserver. To avoid security issues, I would like to determine that the downloaded executable is an executable published by myself rather than launching possible dangerous code. Is...
method content (4 replies, VIP)
microsoft.public.dotnet.framework.clr
how can i get method content by reflection or other way? like ILdasm doing
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification