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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
|