all groups > dotnet clr > july 2007
weak referance
Posted by Artralarasu at 7/30/2007 2:54:02 AM
what is the advantage of weaf referace?
basically CLR allocate the memory from short/long weak referance table base
and the memory will be collected by the garbage by its rule when the object
is in no longer in reachable state.
but myconcern is in regular way the GC will collect the memory i... more >>
Accessing base class method using derived class object
Posted by srini4vasan NO[at]SPAM gmail.com at 7/26/2007 4:54:38 AM
#include<iostream>
using namespace std;
class A
{
public:
void display()
{
cout<<"A display"<<endl;
}
};
class B : public A
{
public:
void display()
{
cout<<" B display "<<endl;
}
};
int main()
{
B b1;
b1.display();
return 0;
}
In this program can you... more >>
converting MSIL to Native code
Posted by Artralarasu at 7/25/2007 6:26:01 AM
while performing JIT compialtion, The MSIL code will be converted to native
code but how the native code will modify the assembly?
is that exe/dll size will be increased while converting the MSIl code to
native code?
could anyone clarify this.
Please ingore if i am admitted wrongly.... more >>
What is DLR
Posted by Muhammad Ali at 7/24/2007 11:27:46 AM
Hi,
while surfing i got some blog about IronRuby from where i get to know
about DLR. I started reading it from
http://blogs.msdn.com/hugunin/archive/2007/04/30/a-dynamic-language-runtime-dlr.aspx
But i am confuse about the purpose of it ... "The essential benefits
of the DLR are about sha... more >>
Web based timesheet application
Posted by LiveTecs at 7/21/2007 8:08:33 PM
http://www.livetecs.com
TimeLive Web Collaboration Suite is an integrated suite that allows you to
manage project life cycle including tasks, issues, bugs, timesheet, expense,
attendance.
TimeLive is available in two different flavors. Hosted version and
downloadable version. Downloadable... more >>
Read and write to Console or a file
Posted by Allen Maki at 7/20/2007 4:19:40 PM
How come line 1 will output garbage to the screen, but line 2 will output a
good number to a file?
How can I make line 1 out put a good number to the screen
String* dayStr = System::DateTime::Now.ToString("dd");
Int32 dayInt = System::Int32::Parse(dayStr);
Console::Writ... more >>
Windows API in SAFE code.
Posted by Ziangi Jones at 7/19/2007 11:30:06 AM
Hi All,
I guess Windows API calls are unmanaged. Then how does CLR manage when a
such a call is made in a safe code block?
Plz. throw some light on this topic...(may be a good link)
--
Greats!... more >>
Using PropertyGrid to on an object instatiated with CreateInstance
Posted by Doug Salomon at 7/17/2007 1:46:05 PM
Hi,
I am working on a program that has a kind of plugin architecture, and I am
having a problem that I hope someone here can help me with.
The main application on this project searches through a directory for
assemblies (its plugins). A given assembly may have a configuration settings
cl... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Multiple base classes in .NET
Posted by Larry Smith at 7/13/2007 7:49:20 PM
I just read a blurb in MSDN under the C++ "ref" keyword which states that:
"Under the CLR object model, only public single inheritance is supported".
Does this mean that no .NET class can ever support multiple inheritance. In
C++ for instance I noticed that the compiler flags an error if yo... more >>
Possible .NET 1.1 CLR problem
Posted by John.K.Ames at 7/10/2007 1:06:02 PM
it seems we have encountered a problem in the Microsoft .NET Common Language
Runtime library for Windows Workstation, i.e. "mscorwks.dll". Our software
runs on servers using the library version 1.1.4322.573 (MS .NET 1.1 Service
Pack 1 not installed), however we have verified the SP1 (version
... more >>
compiler problem
Posted by Allen Maki at 7/10/2007 11:59:52 AM
My compiler is acting up. When I have building error, the left margin
pointer will point to the wrong line. Sometimes, the deferent between the
line that has the error and the line it pointed to can be more than twenty
lines.
Sometimes, It will give error message for something that I com... more >>
Help with SOS and GCRoot..
Posted by AJ at 7/9/2007 1:50:46 PM
I'm trying to locate a memory leak..
I've a test app which creates an instance of a big class, null's the
reference, then calls GC.Collect() a few times in an attempt to clean up
any memory. Thus, in thory, I don't think my instance should exist
anymore.
I use SOS (within the IDE):
!n... more >>
Programatically disabling lazy loading of assemblies
Posted by Edgile at 7/6/2007 7:32:12 AM
Hi,
I would like to enforce loading all referenced assemblies at start up in
order to investigate them via Reflection. However, those referenced
assemblies are loaded by the framework only on demand. Here is a little
example:
namespace TestApp
{
class Program
{
static... more >>
Interacting with managed objects in a hosted CLR
Posted by Todor Todorov at 7/4/2007 2:51:41 AM
I read the book "Customizing the MS .NET Framework CLR" By Steven
Pratschner. It describes how to host the CLR in an application for example
the way SQL Server hosts the CLR. It also describes in great details how to
control the CLR, the way it behaves.
What I am missing is, how does the ho... more >>
Why to use language-specific CTS datatype keywords?
Posted by yapann at 7/3/2007 4:03:26 PM
Hi,
Why actually to use language-specific keywords for common CTS datatypes -
like 'string' for 'String'?
Thx
... more >>
Event as property?
Posted by Ken Varn at 7/2/2007 2:46:02 PM
Is it possible to expose an event as a property? I want to be able to
bubble up events from a class that my class references as a member without
having to have my class pass on an event from the class that it references.
Instead, I would like to do this via a property. To make matters a bit ... more >>
Code Security Question
Posted by dbuskirk at 7/1/2007 11:38:34 AM
Is it possible to create a new code group based on path?
For example, the default gives full trust to local programs. Is it possible
to retain full trust for, sy, C:\Program Files while
placing limitations on programs loaded into a user's MyDocuments folder?
dan buskirk
----== Poste... more >>
|