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