| Thread | Last Post | Replies |
|
| Debugging question | 23 Jan 2005 03:01 GMT | 1 |
I have an unmanaged DLL that I have written a managed wrapper around, however I am getting intermitent crashes where it seems like the heap has been corrupted. My theory is that a garbage collection has moved something that I didn't expect to be moved. I have scoured the code ...
|
| How to test if Microsoft Excel is installed? | 22 Jan 2005 20:41 GMT | 2 |
I'm trying to automate excel from visual c#. One thing I need to be able to test is if excel is even installed on the target machine and what version of excel is installed on the target machine. Is there a way to do this via c# code?
|
| Good refs/Books for intermediate level IJW interop | 22 Jan 2005 19:45 GMT | 1 |
I know that Richard Grimes' book on Managed C++ is probably the most complete ref on using managed/unmanaged C++ as a bridge to C#. But I'm missing pieces here and there. I'd like to find books and references that ramp up more gradually. I need to fill in blanks in my
|
| (0x80040154): Class not registered | 22 Jan 2005 03:27 GMT | 5 |
I'm hoping that someone could point me to the cause of this problem and suggest a solution. I have a C# program that dies with the following: System.Runtime.InteropServices.COMException (0x80040154): Class not registered
|
| Using UCOMIStream | 21 Jan 2005 19:24 GMT | 1 |
I need to be able to pass streams across the Interop boundary. Using the article http://support.microsoft.com/default.aspx?scid=kb;en-us;321695 I can call into and ATL COM object that has a method STDMETHODIMP CSimpleObj::GetUnmanagedData(IStream** ppData)
|
| Issues with making calls to an MFC dll from c# | 21 Jan 2005 19:19 GMT | 2 |
First I want to check and make sure that I can call non-system dlls and MFC dlls at that. Assuming that I can, I've been getting an EntryPointNotFound exception for the follow code:
|
| Signing an interop assembly | 21 Jan 2005 19:08 GMT | 1 |
I want to add a strong name to my class library which depends on a COM Component, for which the interop DLL is automatic build. But the compiler always yells "Referenced assembly does not have a strong
|
| Where/how is the COM DLL Registered when deploying a RCW to the GA | 21 Jan 2005 15:56 GMT | 3 |
I want to deploy an RCW to the GAC, my question is if I create a Windows Installer to deploy this RCW to the GAC, do I also have to register the COM .dll using the installer? How would I do this? Does anybody know of any good examples of creating a windows installer to do some or ...
|
| Add-In Class For Excel | 21 Jan 2005 09:47 GMT | 9 |
I have created a dll with some functions to use in excel, but after i compile the code and try to use it in excel it gives me an error like it could not find the file "mscoree.dll" who can i overdue this error? And why does it show mscoree.dll and not my dll file name?
|
| COM dll talking to .NET executable - it can't be like this! | 20 Jan 2005 09:41 GMT | 1 |
OK. It seems one is prevented from automatically 'registering for COM interop' in the Configuration Properties if it's an .EXE project. Tlbexp works and creates a .tlb but examining it with OLE viewer, the publicly exposed .NET classes map to IDispatch interfaces with no
|
| DCOM Identity changes | 20 Jan 2005 05:43 GMT | 2 |
Need to be able to set the password for the account used by a given DCOM object. What options do I have here? I don't suppose any of the native API functionality for this has been wrapped in .NET yet? To be clear on what I'm trying to change, if you run dcomcnfg and view an
|
| 2 .NET classes in a COM Assembly | 19 Jan 2005 22:49 GMT | 3 |
I have a .NET assembly that I am trying to register as a COM dll. The problem that I am faced with, is that this assembly has two classes, one of which is a Windows Form. As of now, I have a ComRegisterFunction in both of the classes, but I am getting a "DLLRegisterServer entry ...
|
| Call C# function from unmanaged C++ | 19 Jan 2005 21:39 GMT | 1 |
I have a C# class and an unmanaged C++ class. I want them to communicate with each other. (through function calls). To achieve this, I create a managed C++ Wrapper class that takes a delegate from the C# class, and try to convert it to a pure C++
|
| custom IOleUndoManager crashing | 19 Jan 2005 21:31 GMT | 1 |
Hi i have an application hosting webbrowser control in design mode. I also wrote a custom OleUndoManger. My problem is if I move or resize a html element the application crashes. With NullPointerException. Can anybody check if the definition is correct?
|
| Marshalling nested structs and arrays | 19 Jan 2005 21:13 GMT | 1 |
Nedd help with marshaling: have this struct in C: typedef struct OB{ unsigned char bC;
|