all groups > dotnet interop > july 2007 > threads for july 15 - 21, 2007
Filter by week: 1 2 3 4 5
Newbie COM question about passing arrays
Posted by Brian Jones at 7/21/2007 6:43:44 PM
Hello,
I'm new to COM development. Here's what I want to do:
In unmanaged C++:
1) Create an interface called ITeam
2) Create another interface called IPerson
3) Create a method in ITeam called GetTeamMembers. this will return an array
of IPerson's.
In unmanaged C# or VB.NET:
I want ... more >>
C# Finalize not called by CCW - really true?
Posted by czapkofan NO[at]SPAM gmail.com at 7/20/2007 5:46:15 AM
Is that really true that in an in-proc C# assembly the Finalize
methods are not called when COM objects are destroyed from the caller?
And if so, is there any solution for this problem? Or the only one is
to define a "Cleanup()" method and tell all users to call it and hope
they will?
I'm usi... more >>
Tlbimp: unexpected conversion of SAFEARRAY in structure
Posted by Armin Zingler at 7/19/2007 1:00:30 AM
Hi, (.Net 2.0)
an AX-DLL written in VB6 is imported by tlbimp.
VB6 code:
Public Type SAKomplexRecord
....
End Type
Public Type SAKomplex
Records() As SAKomplexRecord
End Type
IDL: (from original VB6 DLL)
typedef [uuid(.....), version(1.0)]
... more >>
Supprise Com Exception
Posted by at 7/18/2007 3:56:11 PM
Hi
I'm using macromedia flash.ocx version 8.0 I'm developing windows
application with c#
Sometimes
"Attempted to read or write protected memory. This is often an indication
that other memory has been corrupted"
exception occurs in my application.
I think com component cause this
I don't wa... more >>
Problem registering assembly for using it as ActiveX
Posted by Elvian at 7/18/2007 2:25:01 AM
Hello,
I've got a little problem. I used to develop a component with Visual
Studio .NET 2003 (.NET framework 1.1), and registering this assembly
to COM interop with a function only writing keys in the registry
(regedit).
This way, I was able to include my activeX component in a former
Visu... more >>
Walker
Posted by Walker at 7/17/2007 12:19:06 PM
Problems with Automation Add-in for Excel
Posted by Otavio at 7/17/2007 8:22:02 AM
Hi everybody!
I have created an automation add-in in C# using VSTO. When I build, I can go
in Excel, outils, add-in and add the add-in wich appears in the list.
When I make an install of my add-in in another computer, it doesn't work. Why?
Help me please,
Thank you,... more >>
How to free the memory allocated in unmanged code from managed code?
Posted by at 7/17/2007 5:49:42 AM
Hi,
I am using a COM component which provides a function like
GetBitmapData(out BYTE* pData, out long *pLen), in which it allocates
the memory using "new" and returns the pointer and length of memory
block.
i am calling this functon in C# in following way...
int pImageBuffer = 0;
int len ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
invoking .net2.0 dll from .net1.1 exe
Posted by eblaster at 7/15/2007 7:30:27 PM
Is it possible to invoke a .net 2.0 dll (built using VS2005) from a .net 1.1
exe built using vs2003?
Thanks
... more >>
|