| Thread | Last Post | Replies |
|
| Import Type Library from C# .net into Delphi 5 | 07 Oct 2004 03:17 GMT | 2 |
I am facing a problem using Delphi 5 here. I used tlbexp.exe to export Type Library file from .net assembly. With the ***.tlb file, i tried to import into delphi and install it on the component palette. The following errors shown:-
|
| Exception from Managed Component being swallowed in Interop | 07 Oct 2004 00:43 GMT | 4 |
I've got an OCX written in VB6 that has been successfully wrapped in a .NET user control (in C#) using COM interop. The OCX exposes a method for going off to a database and populating itself. If anything goes wrong in this process it raises an event (using RaiseEvent),
|
| tlbimp.exe substitues coclass name for interface name | 06 Oct 2004 19:12 GMT | 1 |
I am using tlbimp.exe to create managed wrappers around some COM objects. Suppose I have an interface IFoo, and a second interface IBar whose methods contain IFoo parameters. I am finding that if I add a coclass, CFoo, that implements IFoo, to my type library, tlbimp.exe ...
|
| accessing managed DLL from ActiveX | 06 Oct 2004 16:13 GMT | 4 |
I created ActiveX control using .NET. This control has to use a method from DLL written in managed C++. I can define reference to this DLL, can succesfully compile and link the whole project, but when I try to run the control using ActiveX control test container it cannot see
|
| Exposing .Net struct in COM | 06 Oct 2004 14:54 GMT | 3 |
I'm trying to make my own ValueType in C#, i need to call this from COM so i need to expose it. When i'm trying to assign it from COM it says "Incompatible types: FinVal and Integer"
|
| error msg "assembly identity could not be determined" | 06 Oct 2004 13:43 GMT | 4 |
I created a .NET-DLL and it should be called from a VB6 - program. I created key.snk file added the path to the assemblyInfo-file, I gave a GUID to all public classes, I created a tlb and ran gacutil. Also I see it under windows/assembly! Although when running VB 6 that calls the ...
|
| ProgID attribute has no effect? | 06 Oct 2004 10:04 GMT | 5 |
I have this simple class and interface: <ProgId("Interop.MyTest"), _ Guid("ADA40E6A-9FD6-49da-8855-0DF9ECA1BF0F"), _ ClassInterface(ClassInterfaceType.None)> _
|
| PInvoke threading issue | 06 Oct 2004 09:57 GMT | 6 |
I have created a simple background thread to make one pinvoke call into a DLL I've created. My Winforms app spawns the thread in the form load event then go about it's business. The problem is that my form appears to be blocked while the background thread is running.
|
| Implementing COM interfaces in MC++ | 06 Oct 2004 09:27 GMT | 1 |
I am new in this managed world. I want to use some com interfaces in a managed c++ project (specifically ICatRegister). I haven't found any samples so far on how implement a COM interface in MC++. If you know of any sites, please point me in the right direction. Or if you could
|
| Using C# Assembly in COM and .Net | 06 Oct 2004 09:19 GMT | 1 |
I am trying to create a C# business object component that can be used by a VB6 application and a C# application. I understand how to get the C# component to work in COM however I keep getting this task message when I reference it in my C# application.
|
| "C# call VC COM, passing in memory block address" Revisit | 06 Oct 2004 01:29 GMT | 2 |
I felt so lucky to find this discussion dated of Aug. 1st, because we are having a similar problem. But as I tried a couple of times following the steps carefully, only failed to work it out.( I modified the RCW wrapper's IL file instead of the Windows Forms callable wrapper's IL ...
|
| Issue with ASP.NET client, COM Interop, and Identity impersonation | 05 Oct 2004 23:05 GMT | 12 |
We have an ASP.NET application that uses COM objects through Interop. The web application requires access to network and database resources and hence, needs to impersonate a domain account. The problem is that even when it is configured to run under a certain identity through Web ...
|
| How to pass by reference to a managed C++ method | 05 Oct 2004 20:19 GMT | 3 |
void foo(int& a, int& b) how can this method be called from C#? foo( ref a, ref b) doesnt work?? Thanks!
|
| Limit on number of COM objects in C#/.NET??? | 05 Oct 2004 18:50 GMT | 3 |
Does anyone know if there is a limit to the number of COM objects that can be opened from a .NET application? I know it may be an odd question, but I am trying to track down a bug in some code using the Outlook interop objects and this is the only thing I have left to think ok.
|
| memcpy equivelant in C# | 05 Oct 2004 15:24 GMT | 1 |
I am currently trying to re-write some VC++ code into C# but are having problems finding a way to convert the C++ memcpy into C#. The following is part of the existing code: static int search_count;
|