all groups > dotnet interop > january 2007 > threads for january 1 - 7, 2007
Filter by week: 1 2 3 4 5
Reflecting for method param names and values?
Posted by Mario at 1/5/2007 8:27:26 AM
I have used the GetCurrentMethod and GetParameters via the
System.Reflection namespace. With this I am able to identify all of
the parameter names of the current method. What I would like to do is
get the current values of those parameters using those dynamically
determined parameter names.
... more >>
Problem marshalling memory allocated in C++ DLL
Posted by Martin Hignett at 1/4/2007 9:56:45 AM
I'm trying to marshal memory allocated in C++ DLL to a C# component.
The code I'm using is as follows:
void Initialise( HGLOBAL* phBuffer, DWORD* pdwLength )
{
CSharedFile mout( GHND );
CArchive arout( &mout, CArchive::store );
// Write some stuff to the archive...
arout... more >>
Can't merge two cells in Excel (c#)
Posted by Tanguy92 at 1/4/2007 7:00:10 AM
Hi,
I've a big problem! Reading newsgroup or article give me a solution
that does not work.
I just need to merge two cells in Excel. As it didn't work, I create
just a little program that do the following:
Excel.Application excelApp = null;
Excel.Workbooks books = null;
Excel.Workbook b... more >>
Visual component written in unmanaged C++
Posted by bumbala NO[at]SPAM gmail.com at 1/4/2007 5:39:39 AM
Hello everyone,
I need to write a visual component to be used in a C# windows
application. The component must be written in unmanaged C++. What is
the easiest way to do that?
Thanks.
... more >>
when will .net application free the committed memory (or VM)
Posted by Surain Shen at 1/4/2007 2:36:47 AM
It's known, that .net app alloctes a block of memory and managed itselsf
(or by GC), and when gc do collect, it may not free the committed memory
immediately.
Who'd like tell me when will it REALLY free the memory. Any reply is highly
appreciated!
... more >>
Invalid callback object instance
Posted by aaron.m.johnson NO[at]SPAM gmail.com at 1/3/2007 11:35:57 AM
I have a COM library written in C++. For asynchronous operations I use
a callback interface to notify the application of completions. Here's
the interface definition:
interface ICallback : IUnknown
{
HRESULT Execute(IUnknown* caller, DWORD data);
}
It's pretty standard from what I can ... more >>
Finding the executable path of a running process
Posted by pigeonrandle at 1/2/2007 1:05:26 PM
Hi,
Can anyone shed any light on how i can get the path of a task/process
that is running if i have a handle to its top-level window? Please!
I don't know where to start...
HYCH,
James.
... more >>
|