all groups > dotnet clr > february 2008
setting Struct-s via Reflection
Posted by Edgile at 2/27/2008 8:22:02 AM
Hello guys,
Due to special requirements, I must create my own
serialization/deserialization solution using .Net2.0. The idea looks straight
forward: I use Reflection to navigate through the objects and get/set their
fields (and also add/retrieve my own special stuff). However,
FieldInfo.S... more >>
assembly loading
Posted by RedLars at 2/26/2008 1:59:28 PM
Does mscoree.dll use MajorRuntimeVersion and MinorRuntimeVersion
variables of the struct IMAGE_COR20_HEADER to determine which CLR
Version to use for a particular .NET assembly given no app.config is
present?
How does the CLR know the difference between .NET 1.0 and 1.1 when
both are assigned... more >>
ReflectionOnlyLoadFrom vs LoadFrom
Posted by Fiz at 2/15/2008 10:57:00 AM
If an assembly is loaded into the appdomain using ReflectionOnlyLoadFrom API,
how can I change it to Assembly::LoadFrom? Or, is it ok to load an assembly
using LoadFrom even if it had already loaded using ReflectionOnlyLoadFrom ?... more >>
GenerateCeeMemoryImage / GenerateCeeFile
Posted by knattetjatte@googlemail.com at 2/13/2008 9:17:54 AM
Hello group,
I am using the unmanaged API to create assemblies, emitting methods
into it, adding VTableFixup-entries and then saving it to disk. Then I
use the managed methods from unmanaged code, using LoadLibrary/
GetProcAddress, which works fine. Pretty cool.
But..
The next step is to... more >>
I'm calling Marshal.ReleaseComObject but com objects are still leaking. How to properly release MODI.Document??
Posted by DR at 2/5/2008 2:22:19 PM
I'm calling Marshal.ReleaseComObject but com objects are still leaking. How
to properly release MODI.Document??
private void Form1_Load(object sender, EventArgs e)
{
for (int i = 0; i < 1000000; i++)
{
MODI.Document miDoc = new MODI.Do... more >>
ICorModule interface
Posted by knattetjatte@googlemail.com at 2/4/2008 2:52:38 AM
Hi,
Does anyone know how to get to the ICorModule interface? There is
documentation about
it on MSDN for the 3.5 .NET framework but in a post[1] in 2004 a MS
employee (?) says the
implementation was removed but the definitions in the header files
were accidently left
in... ..but I find it h... more >>
|