all groups > dotnet clr > july 2003 > threads for july 1 - 7, 2003
Filter by week: 1 2 3 4 5
Handling System._ComObject
Posted by Varun Singal at 7/7/2003 7:35:03 PM
Hi
I am calling .NET components from my Classical ASPs.
For this I strong named my assemblies, then registered them in the resistry
( using RegAsm), and put them in GAC (using GacUtil) .
Everything worked fine and my ASPs were able to call and use them.
The problem comes when my ASP code as... more >>
Where does the ClrVersion string come from
Posted by Bhavin at 7/7/2003 12:47:38 PM
When I do HttpBrowserCapabilities.GetClrVersion()
The browser( IE ) returns me the Version of .Net I am
running my app on.
Where does this Version String come from. I want to
disable / change it so that even if my machine has
the .net Version I want to make it look as if it doesn't
just... more >>
fatal error CS0007: Unexpected common language runtime initialization error --
Posted by Polo Lee at 7/7/2003 9:32:20 AM
Dear Friends .
My framework seems having some strange problems now.
Even the compiler is out of functions.
for example, I had written a very simple ¡yHelloWorld¡z Program.
but the compiler tell me as below.
E:\>csc HelloWorld.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.3052... more >>
Object Instantiation
Posted by Hanuman at 7/7/2003 6:19:54 AM
I'm trying to understand the details of calling "New" on a
managed object.
In the COM world, calling "New" caused the following
superset of events:
1. The SCM resolves the path to the class in the registry
by using its CLSID.
2. The object's class factory creates its instance in
memor... more >>
How to obtain argument values in runtime?
Posted by mensikd NO[at]SPAM seznam.cz at 7/7/2003 4:55:52 AM
Hi,
can you please help me by obtaining methods argument values in
runtime? I have this construction:
--- source code ---
try
{
someobject.somemethod(someargumentvalue);
}
catch(Exception exc)
{
ShowStack(exc)
}
public static void ShowStack(Exception exc)
{
StakTrace loTrace ... more >>
.NET CLR Profiler
Posted by carbon_dragon NO[at]SPAM yahoo.com at 7/6/2003 7:05:17 AM
I heard about Microsoft's .NET CLR Profiler at TechEd and downloaded
it. It is capable of showing all kinds of stuff, but I can't say I
really understand what it's trying to show me. I'm reading as much as
I can about the profiling API and other profilers trying to get some
insight into what the... more >>
Clear bindings on dispose of a control to allow GC to collect?
Posted by Niall at 7/4/2003 11:52:34 AM
I've been using the .Net Memory Profiler to chase down a memory leak in our
application. A custom control we have written was not being collected after
the form it was on was closed. Because the form tied to an event on that
control, the whole lot wasn't being collected.
Using the profiler, I ... more >>
ILDasm and Reflection
Posted by Antonio Linares at 7/4/2003 9:14:30 AM
It is easy to check that ILDasm has not been built using .NET (just try to
dissassemble itself), so ILDasm.exe may not be using the Reflection API.
The question is: even in the case that ILDasm would use the Reflection API,
how is it possible to get this:
(as generated from ILDasm)
ldstr ..... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Return string from Fortran Dll back to C#.
Posted by Alex Dong at 7/3/2003 5:45:54 PM
Dear all:
My C# program need a string returned from a Fortran Dll.
The Fortran Dll is like this:
SUBROUTINE REDO(s)
!DEC$ ATTRIBUTES DLLEXPORT::REDO, C
CHARACTER*(*) s
!DEC$ ATTRIBUTES REFERENCE :: s
s = 'Let them talk, now!'C
END
And I use C# PInvoke to call it, the client code lik... more >>
Reflection - Saving an assembly in ASP.NET
Posted by Don King at 7/3/2003 1:54:47 PM
I am trying to save an assembly in the bin folder of an ASP.NET application
using the AssemblyBuilder.Save() method. But when I call the save method,
and specify the file name, it saves in the C:\Windows\System32 directory.
The method does not allow you to specify the path (throws an exception).... more >>
Catching FileNotFoundException when unable to load an
Posted by Prashanth Uppunda at 7/2/2003 10:55:49 PM
Hi,
I want to catch FileNotFoundException in case my
application is unable to find a required assembly file,
for logging a error message to my log file. Is it possible
to handle this exception ? I treid catching this exception
in Main(). But it wont work! Please let me know if any one
h... more >>
data between applications.
Posted by Ville Pirhonen at 7/2/2003 2:27:23 PM
here is the scenario:
I have windows service and "standard" windows forms applications. what kind
of methods there is to share data between those applications? Applications
will be in same machine, so any remoting is futile. Are there similar stuff
like shared memories in linux in .Net framework... more >>
using a C#- web service in a java application
Posted by P.begas NO[at]SPAM hamburg.de at 7/2/2003 2:24:48 AM
I've developed a web service in C#.NET and want to use it now in an
existing java application.
When creating an instance of the web servce stub class, an error
occurs:
"org.apache.axis.ConfigurationException:
java.lang.IllegalStateException: can't declare any more prefixes in
this context"
... more >>
CorBindToRuntimeEx pops up a messagebox
Posted by M. Veurman at 7/1/2003 12:20:12 PM
Hi,
I'm using CorBindToRuntimeEx to start a specific version of .Net (1.0 /
1.1). When the correct version is not present some machines display a
messagebox:
..NET Framework Initialization Error
---------------------------
To run this application, you first must install one of the followin... more >>
First time catch (or trow?) takes _unexpectedly_ long time.
Posted by DotNet007 at 7/1/2003 11:49:30 AM
Hi to All,
As I searched in google, others reported similar things too:
My case:
After installing a using VS 2003 (or is it about Framework 1.1?) every
application's every run-sessions first time exception takes at least 5 sesc
to reach the catch.
Why? It is unexpected of point of view o... more >>
Passing objects between AppDomains
Posted by Dmitry Shaporenkov at 7/1/2003 5:05:16 AM
Hi all,
I need to extract type information from an assembly and
unload the assembly to prevent it from locking. So I
create separate application domain, explore the assembly
via Reflection in this domain (this results in building a
hierarchical data structure containing the information
... more >>
install time native code generation
Posted by novichek2003 NO[at]SPAM yahoo.com at 7/1/2003 4:19:31 AM
How to create a native code *.exe from the IL?
A frequent answers are: you don't need it, is incompatible with other
versions of CLR etc.
I would like to accerate the load and run time of my c# app.
And I would like to create the native code during the installation of
my app on target pc. So th... more >>
Testing My News Reader Settings...
Posted by Joel Reyes at 7/1/2003 12:34:09 AM
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable... more >>
|