| Thread | Last Post | Replies |
|
| RegAsm warning: No types were registered | 08 Oct 2005 13:34 GMT | 2 |
I have the following class which I want to expose as COM object, but regasm tells me, that no types were registered. namespace SyynX {
|
| Repost: Marshal array of Enums from VB6 to .NET | 08 Oct 2005 11:51 GMT | 2 |
Reposting in the hope that an MVP or someone from Microsoft can answer this. I have an enum defined in managed code, e.g.: public enum MyEnum {
|
| Getting HRESULT information if the call has not failed | 08 Oct 2005 09:55 GMT | 1 |
I have a COM object that I am using via c#. THe object supports a method that checks an angle lower and upper limits and returns a bool. The reult is either a pass or fail, if it fails further information is passed via the HRESULT indicating whether it failed the upper limit or
|
| Structured Storage API \ File Properties (PIDSI_THUMBNAIL) | 07 Oct 2005 23:29 GMT | 3 |
All, I've ported the Microsoft Structured Storage API to C# and it works great. My main purpose was to access a compound file's file properties, which I've done.
|
| Question about default parameters in COM type lib and use in C# after using tlbimp.exe | 07 Oct 2005 23:12 GMT | 3 |
Hi there. I have a COM DLL that I have converted into an interop assembly via the tlbimp.exe tool. One function that I am trying to use now in C# has a default parameter defined in my IDL file: HRESULT Convert( [in, defaultvalue( "" )] BSTR file, [out, retval] long
|
| C#/C++ interop and struct | 07 Oct 2005 23:11 GMT | 3 |
i've a C++ dll with a function that return a pointer to a struct, and i need to call that function from a C# windows app. i already try some ways founded on the MSDN and on the web but i cannot map returned struct to a managed struct.
|
| Problem with VB6 calling a C# Class | 07 Oct 2005 19:49 GMT | 1 |
I am trying to access a .NET class written in c# from a VB6 application. I exported the Typelib and registered it successfully (RegAsm DotNetClass.dll /tlb), but my VB program only sees the methods inherited from Object (Equals, .GetHashCode, GetType and ToString). I would ...
|
| VBA object browser doesnt list C# class methods. | 07 Oct 2005 19:36 GMT | 4 |
I have already posted a related question on this group, may be the answer to this question is linked to the answer to other question, but I think its not related. I have added the link to other question at the end of this post.
|
| methods from super interface not availabe through ComVisible interface | 07 Oct 2005 19:32 GMT | 5 |
I have a pretty basic issue when I am trying expose a C# interface for COM interoperability. Here is the interface definition: [ComVisible(true)] public interface IClass:IClassBase
|
| dynamically loading an assembly from a service (windows DRM) | 07 Oct 2005 14:53 GMT | 7 |
I am trying to dynamically load an assembly that has a reference to 'Interop.WMEncoderLib.dll' which is a PIA to the windows media player DRM components. When I run the code from a console application it works perfectly fine, but when the assembly containing the reference is load ...
|
| COM and Interop | 07 Oct 2005 12:28 GMT | 2 |
When I create an dll in vb.net and I register the dll for COM Interop, is it then possible to use that dll on a machine where de CLR is NOT installed? Thanks, Hendrik Jan
|
| Calling COM method returning SAFEARRAY(BYTE) | 07 Oct 2005 03:12 GMT | 3 |
Googling hasn't solved this little problem, so here goes: I have a function in C++ which returns a safearray of bytes. I cannot change this function, and I want to call it from C++. The IDL looks like this:
|
| MarshalAs-Attribute for a Variant-Safearray? | 06 Oct 2005 18:58 GMT | 3 |
Can anybody tell me how I use the MarshalAs-Attribute to mark a parameter as a VARIANT which contains a SAFEARRAY? Or can I rebuild a structure VARIANT which I can use to transport a SAFEARRAY?
|
| problems calling vb6 queued component in vb.net | 06 Oct 2005 18:13 GMT | 3 |
I am having problems getting a component that was written in VB6 to work inside of vb.net. It is a queued component. Can someone send me some sample code that would work in this instance? Here are some questions: 1. Should GetObject still work inside of vb.net? If so, what ...
|
| Problem with Unions | 06 Oct 2005 18:12 GMT | 1 |
Hello I need help to interop this structure in C# to make an wrapper for the "InstallApplication" method: typedef union _INSTALLSPEC { struct {
|