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 > december 2007 > threads for december 8 - 14, 2007

Filter by week: 1 2 3 4 5

C# seems not to understand pointer any more
Posted by Peter at 12/14/2007 5:29:21 PM
We have code like this in our managed wrapper (written with managed extensions in C++) Byte * some_method(); which we compile with VS2003 to a managed assembly. The functions in the assembly work nicely with C#/VB programs written with VS2003, allowing unsafe code. However, as soon a...more >>


When to use Marshal.GetNativeVaraintForObject
Posted by Creativ at 12/14/2007 5:57:27 AM
Hi, I notice that Marshal.GetNativeVaraintForObject is a way to create a variant from object. But DotNet can do marshalling from object to variant when an object is used as a parameter. Can anyone tell in which case I should use Marshal.GetNativeVaraintForObject ?...more >>

set_printquality bug in Excel.PageSetup
Posted by robiman at 12/14/2007 4:13:28 AM
I think I discovered a bug in set_printquality method in Excel.PageSetup. Example: .... Excel.Sheets xlsheets = wb.Sheets; Excel.Worksheet excelWorksheet = (Excel.Worksheet)xlsheets[1]; Excel.PageSetup ps = excelWorksheet.PageSetup; object x = ps.get_PrintQuality(1); ---> debug shows: x = 6...more >>

Testing the COM API of a .NET interop assembly
Posted by tim.vanhekken@googlemail.com at 12/14/2007 2:46:34 AM
Hi, I am trying to create a unit test in .NET that tests the COM API of a .NET assembly that was registered for COM interop (regasm). So the call sequence is like: .NET -> PIA -> .NET. What seems to happen is that a RCW is created that tells the CLR that the underlying type of the PIA is a .N...more >>

Adding COM support to my C# library
Posted by zorrothefox@rediffmail.com at 12/11/2007 4:59:27 AM
Hi, I have written a library in C# for doing some power calculations. I wanted to add COM support to this library, so that other applications/scripts could call this functionality. I have seen a wizard for adding a new ATL/COM project in Visual Studio 6.0. However, this type of pr...more >>

.Net 1.1-COM-Component running fine, .Net 2.0-COM-Component fails
Posted by Werner Schmidt at 12/10/2007 5:01:24 PM
Hi group, I have the following problem: I have a DLL written in C# with a component I want to use inside an Office-AddIn written in VB6. With the .Net 1.1-version of the component there is no problem using my component inside my Office-AddIn. Some time ago, we ported our application ...more >>

Interopt, PowerPoint 2007
Posted by frank at 12/10/2007 12:53:00 AM
I have developed an application for managing placeholders (for date, time, tickers, database values etc) in PowerPoint. The application starts read the placeholders, starts PowerPoint and with DoEvents allows PowerPoint to manage user defined automation, slide change on time etc. The applicati...more >>

VB6 Web Service?
Posted by pbd22 at 12/9/2007 9:52:13 PM
Hi. I just got a project that is taking me into previously uncharted territory. I have a reasonably large VB6 project and need to "turn it into a web service". I know this isn't immediately possible. The two main options seem to be: 1) convert the code to .NET and then create a web servic...more >>




DevelopmentNow Blog