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 > may 2006 > threads for may 29 - 31, 2006

Filter by week: 1 2 3 4 5

COM object and COM server
Posted by juergen at 5/31/2006 2:15:57 PM
hello everyone, I have a COM server running. To communicate with that server I have to run a windows forms application with the MTAThread attribute. To communicate with that server I have to run a COM object with ???? My COM object is a taskbar Deskband. I tried to set the ThreadingModel...more >>


C# question: dealing with unsigned char* from C++ .lib
Posted by Stephen Cawood at 5/31/2006 1:57:57 AM
I'm trying to access a C++ .lib from C#. I have a working wrapper DLL (I can get back simple things like int), but I'm having issues dealing with complex data types. For example, the .lib contains this function: int create(int id, int scale, unsigned char *image); In the wrapper DLL I h...more >>

Binary Behaviors and .Net
Posted by Peter Kenyon at 5/31/2006 12:00:00 AM
Hi, I have been trying to implement a binary behavior in c#, to display my own custom tag in a WebBrowser control. My behavior is being successfully instantiated (all methods in IBinaryBehavior are being called), however nothing further happens once IHTMLPainter.GetPainterInfo returns. IH...more >>

Accessing embedded resources in .NET DLL through COM
Posted by hoptoit at 5/30/2006 4:06:59 PM
I am writing a class library in VS .NET 2005 (VB.NET specifically) that will be called from an existing program (that I have no control over) using COM. One of the parameters it expects is the index of an icon embedded in the DLL. The catch is that other than a default icon that seems to be i...more >>

Interop class works from winforms but not asp.net
Posted by Dan English at 5/30/2006 12:08:19 PM
Hi, I have an interop class that works from winforms but not asp.net 2.0 c# app. At runtime I get a nasty 0x0eedfade error just creating the class. I've tried lots of things but nothing helps. Can anyone give me some suggestions? Thanks in advace, Dan ...more >>

Regasm on PIA exposes interop components to COM?
Posted by Holger Grund at 5/30/2006 12:00:00 AM
I'm trying to create the setup MSI for a PIA. Therefore I've extracted the registry information via regasm /regfile. Surprisingly, I got a whole lot entries HKEY_CLASSES_ROOT\Record with @Class=<.NET Type name> @Assembly=<AssemblyIdentity> @RuntimeVersion=<RuntimeVersion> I don't see a...more >>

Difference between "Make Assembly COM-Visible" and "Register for COM Interop"?
Posted by Joseph Geretz at 5/29/2006 1:15:33 PM
I'm developing a .NET class library. I want this to be callable by VB6 (COM / ActiveX) clients. In Project Properties, under Application | Assembly Information, I see an option titled "Make Assembly COM-Visible". How does this differ from "Register for COM Interop" in the Output section of the...more >>

c# pinvoke string marshaling question
Posted by scott mcfadden at 5/29/2006 11:45:43 AM
What is the correct c# method declaration for the following c++ method defined in an external DLL? Note, this method allocates its own memory rather than having the caller allocate memory. I can make it work by forcing my managed code to allocate the memory by passing in a StringBuilder b...more >>




DevelopmentNow Blog