all groups > dotnet clr > october 2005
CLR host process account
Posted by Jim Weiler at 10/31/2005 1:22:47 PM
[This followup was posted to microsoft.public.dotnet.framework.clr and a
copy was sent to the cited author.]
When managed code is started, the CLR is loaded into a process and it
starts executing the managed code.
Q1. How is the process used to host the CLR determined?
Q2. what account doe... more >>
Garbage collection explosion BEFORE my code executes?
Posted by William Sullivan at 10/31/2005 5:41:02 AM
I have an extremely weird problem that I have no idea how to approach.
I have a simple page with a search textbox and a search button. The button
causes a postback, where I perform the search and display the results in a
DIV that has a tree. I've tested all the code up until I add in the co... more >>
Loading Assembly without know its physical location.
Posted by orianavim NO[at]SPAM gmail.com at 10/28/2005 2:54:52 PM
Hi,
I'm trying to create a map of my project reference while looping
through my dll references.
This is what I'm doing:
1. I'm able to load my root assembly using "Assembly.LoadFile"
2. get all the references AssemblyNames using
"assembly.GetReferencedAssemblies();"
3. Trying to load ea... more >>
TIF files only half height?
Posted by NetRacer at 10/27/2005 8:50:10 AM
Hi,
I'm loading graphics into a PictureBox using then Image.FromFile method. If
the Image is a TIF file it get's only half the height. The whole Image is
displayed (not cut off somewhere) but it looks squeezed. The TIFs are
documents received by fax and encoded by "Group 3 Fax Encoding" (as... more >>
Exception message localization
Posted by Vagif Abilov at 10/26/2005 9:34:59 AM
I am somewhat confused with Brad Abrahms' Exception Message Guidelines
(http://blogs.msdn.com/brada/archive/2004/01/28/64255.aspx), also published
now in the book. One of his suggestions is:
"Do localize exception message".
This works fine as long as the application runs in a desktop. It g... more >>
CLR Reserved Bytes Problem
Posted by Arka at 10/26/2005 3:46:35 AM
Hi,
We have memory problems with one of our ASP.Net application.
While analysing the process memory I found that two performance
counters were displaying interesting values:
#Total Committed Bytes: 145'000'000
#Total Reserved Bytes : 647'000'000
I understand that "Total Reserved Bytes"... more >>
#include file conflict
Posted by Olav at 10/26/2005 3:28:02 AM
Hi,
we have an MFC app where the database interface is ADO.NET. The rest of the
app is unmanaged. We want to interface to another app by using OLE. We have
done this before with other vendors and it works fine. But with the #import
directive with the .tlb from this vendor VS reports the follo... more >>
Circular dependencies
Posted by Joe M. at 10/25/2005 2:37:03 PM
Hello.
Can someone explain to me or point me to documentation about why circular
dependencies are not allowed between projects in Visual C# .NET? I'm
assuming it's because of the CLR and how the compiler generates assemblies
but I'm having trouble finding specifics on MSDN and the web.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Mixed Mode trust situation
Posted by Paul Perry at 10/25/2005 9:09:04 AM
This was previously posted in dotnet.framework.interop, but no replies were
received.
Hello,
We've got a mixed mode application, which includes MFC/ATL and is written in
mainly C++ and some MC++. We are extending our product by calling assemblies
that have been written in C#. We've go... more >>
Accessing embedded resources
Posted by YiFai at 10/24/2005 11:45:08 AM
Hello,
I would like to "package" a few files that my program needs into a single
executable, I have successfully added them to my resources. But I would like
to know how I can access the files directly.
So let's say I have a pdf added, is there a way to open the pdf and access
it (just ... more >>
WOW64
Posted by Kevin Ortman at 10/23/2005 7:26:04 PM
How does the 64Bit CLR handle .NET Framework 1.1 assemblies in the following
scenario?
App.exe <--- .NET Framework 2.0 100% Managed
MyLib.dll <--- .NET Framework 1.1 100% Managed
App.exe has a dependecy on MyLib.dll.
Does the whole application execute in 64-bit native?
Does the... more >>
Rectangle class
Posted by bryan at 10/21/2005 3:55:29 PM
try this (C# syntax for the example)
Rectangle rect = new Rectangle( 1,1,3,3); // make a rectangle at 1,1 that is
3 wide and 3 high.
Debug.Assert (rect.Left == 1); // true
Debug.Assert (rect.Top == 1); // true
// right and bottom should be 3,3
Debug.Assert (rect.Right == 3); // FALSE
... more >>
Is it correct to create custom cultures?
Posted by Vagif Abilov at 10/20/2005 12:00:00 AM
Hello,
I need to store culture-specific resources in my application that are not
limited by standard cultures recognized by .NET. For example, a German
customer can specify his preferred language as English, and in such case he
will receive messages in English but still tailored for Germany... more >>
How to disable Local Settings\Application Data\ApplicationHistory\ ini file generation
Posted by Leon Finker at 10/19/2005 9:14:45 PM
Hi,
We have a requirement to disable Local Settings\Application
Data\ApplicationHistory\ ini file generation for our app only or globally on
some customer machines. I found out that i can disable it globally by
setting the following registry value:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion... more >>
VS 2005 RC .pdb and .dll files don't match?
Posted by Rog at 10/18/2005 1:11:04 PM
I'm running the RC version of VS 2005 handed out at the PDC. I'm working on
something where seeing what's going on all the way down the stack would be
very handy. I'm using 2.0.50727 of the CLR, and whenever mscorwks.dll appears
on the stack, I can't see the entries (and everything gets out of... more >>
Creating dynamic assemblies - almost there
Posted by rein.petersen NO[at]SPAM gmail.com at 10/17/2005 6:39:32 AM
Hi All,
I've been working on having my application create dynamic assemblies
within the current domain of the application and loading them at a
later point inside new domains (so they can be unloaded as necessary)
and I feel I'm almost there thanks to great help from people in the
dotnet news... more >>
FtpWebRequest ServerProtocolViolation calling GetRequestStream method
Posted by Kevin Spencer at 10/16/2005 9:03:58 AM
Hi all,
I am working on a service that uploads METAR weather information to the
National Weather Service FTP site. The service I'm authoring is hosted on a
Windows 200 server, and the NWS FTP host is on a Unix server. I'm using the
FtpWebRequest and FtpWebResponse classes to do the file upl... more >>
Evidence
Posted by poifull at 10/14/2005 2:17:13 AM
Is my class library is it possible to get the calling assembly's executable
full name, or the Url if it is being linked from an ASP?
Thanks,
Joe
TIA,
poifull
... more >>
System.Appdomain.CreateDomain(...) returns __TransparentProxy
Posted by rein.petersen NO[at]SPAM gmail.com at 10/12/2005 12:18:41 PM
Hi All,
I wondered if anyone could make sense of this undocumented object
(System.Runtime.Remoting.Proxies.__TransparentProxy) being returned
from the static method call to System.Appdomain.CreateDomain(...).
Normally (in my mono-assembly testing application),
System.Appdomain.CreateDomain(... more >>
multi user access problem in asp.net
Posted by Deep Silent Ocean at 10/7/2005 7:47:32 PM
Hi All
I am developing one Portfolio Management application where there is
single database shared by all the traders.
I have developed web-based application for this. I want to make this
multiuser application.
Following is the architecture of the application ...
Front End is develope... more >>
How can I have SortedList sort descending?
Posted by Ken Varn at 10/7/2005 1:48:02 PM
I am using the SortedList class to sort an array of items. I want to bind
the SortedList to a DataGrid, but I want the list to go in descending order.
Is there anyway to change the sort order in SortedList when databinding so
that I can reverse the sort order?
--
---------------------------... more >>
Problem with runtime emitted proxies
Posted by Roger at 10/7/2005 6:25:02 AM
Hi
I use system.reflection.emit to create runtime subclasses of some classes.
all works very well with one little problem.
I cannot use quickwatch on my proxies , they just show up in quickwatch as
"{}" instead of showing a tree with properties etc.
also , when hovering an proxyinstanc... more >>
Problem with Diagnostics.Process.GetProcesses(String machineName)
Posted by XxLicherxX at 10/6/2005 12:52:12 PM
Hello,
For some reason I cannot look at the processes running on one machine
on the network. I always get the following error:
System.InvalidOperationException: Couldn't get process information from
remote machine. ---> System.ComponentModel.Win32Exception: The network
path was not found
... more >>
Service Stop Problem
Posted by Prasad at 10/6/2005 11:22:50 AM
Hi,
Is it generally acceptable that the SCM says that the service has
stopped but the service has spawn a thread which is still doing the cleanup
thing which keeps the process running.
... more >>
basic assembler
Posted by VooDoo at 10/5/2005 9:06:05 PM
hi, i am trying to make some assembler things (embeded, so no relation with
..net or anything, just basic dos assembler), i am checking some sources but i
dont know the meaning of two statements:
1. os = 0
2. CLD
does anyone knows what those mean? (they are not consecutive, just the
m... more >>
using AppDomain.DoCallBack() asynchronously?
Posted by john conwell at 10/5/2005 10:17:05 AM
if i want to call into another AppDomain with messing with Remoting, i can
use the AppDomain.DoCallBack() passing in a CrossAppDomainDelegate. But this
executes synchronously. Is there a way i can call into another AppDomain
asynchronously, but without having mess with Remoting?... more >>
Method call parameters' runtime values - dynamically
Posted by Michał Januszczyk at 10/5/2005 7:57:05 AM
is it possible to get collection of passed-in values in a method call ?
I would like to get values of parameters for logging/debuging purposes.
e.g
private void DoSomeBusinessLogic(int a, int b, String c,...)
{
//get somehow values of the method
Object[] paramterValuesCollection = ?... more >>
CLR thread blocked?
Posted by marvind at 10/4/2005 2:08:30 PM
Hi,
I have a .NET application that spawns a lot of threads that are then
executed according to availability of threads in the thread pool. In
each thread I query a database and then write results to disk to
separate files. Typically I have no problems, however, when I try to
run this applicat... more >>
Running GUI application in separate application domain
Posted by nickdu at 10/4/2005 11:06:01 AM
I'm trying to isolate "applications" into their own application domain within
a single process. I've quoted applications because it's a logical
representation of an application. Basically it consists of a bunch of
components supplied by some application group. I got this to work, somewhat. ... more >>
Heap fragmentation caused by .NET remoting (TcpServerSocket)
Posted by s_mondrup at 10/4/2005 11:01:03 AM
My server application gets an OutOfMemoryException after running a few hours.
I’ve inspecting mini dumps with WinDbg + sos.dll and believe that the
application suffer from heap fragmentation caused by pinning of
TcpServerSocketHandler + friends. The application uses both SqlClient and
remo... more >>
Where's are good enterprise services resources?
Posted by James at 10/4/2005 9:35:09 AM
Looking through these newsgroups I notice there isn't an actual group for
Enterprise Services and I'm wondering if someone could maybe give me a decent
set of resources relating to the use/best practices/common issues for them.
Thanks!
- James... more >>
Is there 1:1 mapping between managed thread and OS thread in v1.1.4322?
Posted by Rafal Zwierz at 10/4/2005 6:42:07 AM
I know that there is a note in the documentation of the
System.Threading.Thread class saying that there is no fixed
relationship between a ThreadId and a managed thread. In some posts,
however, I've found info that in the framework version 1.* managed
thread will never change underlying OS thre... more >>
ApplicationName must be set before the DynamicBase can be set
Posted by rein.petersen NO[at]SPAM gmail.com at 10/3/2005 2:08:07 PM
"ApplicationName must be set before the DynamicBase can be set"
This is the message of the exception returned when I try to load an
assembly into the current domain of my application. The same code
worked great in a smaller application I created to test the loading of
assemblies that I create... more >>
|