all groups > dotnet clr > december 2007
WANTED: System.Numeric.BigInt
Posted by axel at 12/31/2007 1:30:15 PM
i searched the RTM version of this great new namespace, but it's gone!?
there was actually a MSDN-Mag article and i'm sure it was announced for
version 3.5...
in fact i planned to replace my own large integer arithmetic implementation
with the .net 3.5 one,
which should be much more sophi... more >>
new pattern needed to declare container for var
Posted by ChrisA at 12/30/2007 6:04:00 PM
Hi,
I am trying to declare a container and then add anonymous types to it. I
want to end up with something I can use with LINQ, but the normal way to load
a list doesn't work -- I don't know how to declare the target container. the
syntax should be something like: var[] list = <??>; but ... more >>
About CLR Host.
Posted by lander at 12/30/2007 5:53:38 AM
I'm confused by Shell(explorer.exe) is one CLR host for .net
applications.
If there are many winform applications running, are there many
application domains in explorer.exe? It must exhaust the reources in
explorer.exe!
Also, if i double click a winform application, it is displayed as a
i... more >>
interrupting flow of a function and/or yielding control
Posted by dB. at 12/21/2007 12:41:46 PM
I am trying to build a workflow system for database detection that
needs to perform thousands of detections in parallel. Most of the time
the detectors sit waiting on network IO to do something. The actual
detector code is fairly thick, with a third party implementing the
actual detectors.
Wh... more >>
Changing an assembly identity without recompiling
Posted by Vitaly Belman at 12/21/2007 6:01:33 AM
I have a certain assembly a.dll with a certain identity (Name,
Version).
Is it possible to alter the identity of the assembly without
recompiling the actual assembly code?... more >>
which IL OpCodes call a method
Posted by kevin at 12/20/2007 2:19:00 PM
....using framework 1.0 / 1.1/ 2.0, Mono.Cecil library for introspection
I am new to all this fancy smancy IL stuff, so please hold the slaps if this
is obvious...and feel free to point me to "good" and "clear" documention if
that would answer my question.
which IL OpCode represent method ... more >>
Access subclass attributes from base
Posted by Kyle M. Burns at 12/19/2007 9:01:09 AM
Using the 2.0 framework, I'm trying to flesh out an idea that I had for a
generic factory using an attribute to specify the type of concrete class that
will be implemented. Our base factory does all the work and looks like this:
abstract BaseFactory<TInterface, TConcreteImplementation>
{
... more >>
Generics - How to ctype an instance of a generic class to something that I can use
Posted by Andrew Backer at 12/17/2007 10:49:41 PM
I hope someone out there can help me with this, because I am stuck.
My problem is that I have an instance of a generic class, but I don't know
ahead of time what the type parameter used was. In my case the type must
derive from a class, like UserControl, so I at least know I should be able
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Difference with using between 1.1 and 2.0?
Posted by Mark at 12/12/2007 2:55:01 PM
Hi...
I'm digging through some old legacy code that was written originally for
..net 1.1. It's looking for some registry entries to assemble a Sql
connection string. It wraps the registry lookup with using.
The problem is that the registry key has never existed. Under 1.1, though
the ... more >>
Thread-safety guarantees for basic ops
Posted by Mike Capp at 12/12/2007 3:03:54 AM
Hi,
When thinking about thread-safety I've been assuming that the
following are automatically thread-safe without the need for any
explicit locking by the programmer:
- Reading a reference value
- Writing a reference value
- Reading/writing built-in simple types sized 32 bits or less (... more >>
Windows service crash
Posted by ramendra.kotharkar@gmail.com at 12/7/2007 2:42:54 AM
Hello,
I have a windows service developed using .Net VS2005 which makes call
to some unmanaged dll (for image processing related tasks). The
service often crashes after running continuously for 1 hour or so. We
tried to attached a debugger but couldn:t debug since we get Access
Violation the ... more >>
Getting the Type of a Generic Parameter
Posted by Rick Strahl at 12/7/2007 1:12:37 AM
I need to figure out how to get the type of a generic parameter in order to
create an instance of this generic type using Activator.CreateInstance().
While there's Activator.CreateInstance<T>() that works with a generic
parameter, it doesn't accept parameters for constructors, so it looks li... more >>
DocumentComplete event failed to fire in different version of SHDOCVW.DLL
Posted by prowyh at 12/4/2007 9:51:37 AM
Hi all,
I wrote a Windows Form application that hosts WebBrowser control, and
I want to handle the DocumentComplete event in C# code. It works fine
on my development computer, but the WebBrowser control failed to fire
the DocumentComplete event while run on another computer.
The SHDOCVW.DLL... more >>
How To Avoids CLR GC operation
Posted by elwolv at 12/3/2007 11:15:00 AM
Hello;
I am trying to write a c# .net code where no GC un-timed memory operation.
the purpose of which is to allow the code to be responsive in real time as
possible.
what are the steps to talk in selecting type of objects and variable.
do we use a single class for the program?
how to ma... more >>
How to use file I/o codes with forms and controls codes
Posted by Allen at 12/2/2007 3:07:31 PM
Hi Everybody,
I would appreciate it if you can give me a hand here.
I want to use the two codes, below, together to do the following
when the "IN" button is clicked (InBtn_Click):-
1- Create (or open) output.txt, and
2- Type the current time (hour only) in it.
I tried to include the fi... more >>
|