Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > dotnet interop > march 2007 > threads for march 1 - 7, 2007

Filter by week: 1 2 3 4 5

Variant array of Structs by Ref
Posted by sbparsons at 3/7/2007 1:57:07 AM
I'm using interop between .Net and C++ (COM) and am attempting to retrieve an array of structs from the COM server. I realise that having VT_RECORD type data in variants is not supported. Is the only way to accessing these types of returns via custom marshalling? A book that I am reading (pr...more >>

Using GetOutlineTextMetrics GDI API from C#
Posted by Kristofor at 3/6/2007 1:29:25 PM
Hi, I am working on a project that includes creating a PDF file by hand using a predefined font. The PDF reference requires certain font metrics be included. Using the FontFamily class, I have access to a few, but the majority of them aren't available. Therefore I'm attempting to use PIn...more >>

Native DLL and callback in C++
Posted by Erik_Wikstr=F6m at 3/6/2007 7:40:04 AM
I'm trying to figure out how some stuff can be done when calling functions in a native DLL from managed C++ and the called functions have callbacks. What I want is to be able to use an opaque type as a handle for the user of the DLL, in this case it's called Test and the user can create/delete i...more >>

Help me - ATL dll in vb.net
Posted by Nicol at 3/6/2007 7:01:35 AM
Hi, I created ATL dll in vc++. One of the function has datatype as WCHAR*. I am rferring this dll in .net, .net automatically converts this to interop dll and the signature for the method WCHAR* is changed to ushort. I actually have a string in WCHAR* variable. since it is ushort in .net ...more >>

Creating Journal Record Hook gives error 1400 (Invalid Window Hand
Posted by mihi at 3/3/2007 5:37:00 AM
I am trying to create a journal record hook in C#. According to http://www.codeproject.com/tools/winmacro.asp I do not need a DLL for it. Creating a Journal Playback hook works (although I don't have anything to play back yet), and creating the Local Message Hook for getting the WM_CANCELJOUR...more >>

Equivalent of void*
Posted by Bumbala at 3/2/2007 7:42:06 AM
Hello, What is the equivalent of "void*" in managed C++ ? Thanks. ...more >>

P/Invoke OutOfMemoryException in .NET Compact Framework 2.0
Posted by Pedro Mota at 3/1/2007 9:35:22 AM
Hello, I'm getting an OutOfMemoryException when calling a native method. The same program and library are working on the big .NET Framework 2.0 but not on the Windows CE 4.2 that I have. The exception is thrown at the level of P/Invoke because it's when I call the function in managed code...more >>

GetWindowTextLength hangs in .NET
Posted by ME at 3/1/2007 9:11:17 AM
I have a application that reads another application's text box. I use GetWindowText and GetWindowTextLength to read the text into my C# application. From time to time the call to GetWindowTextLength 'stalls' and never returns. It is not that it does not return a value, but rather the call...more >>



Marshalling CComBstr to System.String
Posted by akumaramar NO[at]SPAM gmail.com at 3/1/2007 5:32:25 AM
Hi, I have below declaration in C# void UpdateSpousePayrollDetails([MarshalAs(UnmanagedType.IUnknown)]Object termlf, [MarshalAs(UnmanagedType.IUnknown)]Object dpyCdh, [MarshalAs(UnmanagedType.BStr)]String SD04); and want to call this function from C++. The code to call this function is ...more >>

Marshalling complex types between a .NET CCW and VBScript
Posted by GregB at 3/1/2007 3:44:14 AM
We want to determine whether it's possible to develop a .NET COM- callable wrapper (CCW) which exposes complex types that are accessible to a VBScript client. We have found that VBS has no problem accessing 'simple' types like integer, String, Boolean. On the other hand, we are seeking advice ...more >>


DevelopmentNow Blog