| Thread | Last Post | Replies |
|
| How To: C++ DLL function returns Structure Array to VB .NET | 25 Sep 2006 21:01 GMT | 3 |
I have a DLL that I've compiled in Visual C++ which I'm referencing in VB .NET The function in the DLL returns a simple structure array. I need to be able to capture this structure array in VB .NET.
|
| CCW/AppDomain unloading | 25 Sep 2006 20:25 GMT | 1 |
I have a managed class which is being used by an unmanaged client (via COM InterOp, Internet Explorer). I basically understand how this works (IE calls CoCreateInstance(Ex), CLR gets loaded, AppDomain(s) created, CCW created, yada yada ...).
|
| Problem getting UserGUID from Exchange OnSave event sink | 24 Sep 2006 13:55 GMT | 7 |
Hi, I suspect that this is an interop problem, can anyone help? I'm having trouble getting the id of the user who caused an OnSave event on a calendar appointment. It is supposed to be available through the IExStoreDispEventInfo interface but it just causes an exception.
|
| Effecient way from C++ byte[] to CLR object? | 22 Sep 2006 20:18 GMT | 1 |
What is the effcient way copying byte block from native C++ code to CLR object? I know there is C++/CLI array<BYTE>, however, I don't think it will be effcient because it needs loop and copy for each array element as far as I
|
| C# 2.0 dll in Excel 2002 | 22 Sep 2006 09:22 GMT | 1 |
I am having great difficulty using my .Net 2.0 dll in an excel 2002 application. I've coded it correctly but I've found an unusual (?) problem: Excel is loading the .Net 1.1 version of the mscorlib.dll instead of the v2.0! In Excel the mscorlib.dll is the wrong version [v1.1.x.x]
|
| Problem in calling a COM dll function from C# .Net Web method | 22 Sep 2006 08:18 GMT | 2 |
I have created a COM DLL which has one functionality exposed through interface. Now in my Web Application I made the reference to that DLL. I created the object and called the funtion.
|
| COM Factory for managed objects? | 21 Sep 2006 23:05 GMT | 1 |
I am trying to do this and am stuck in one place. If someone can help me it would be great. I have a managed object exposed to COM via regasm. [ComVisible(true)]
|
| Why the "STAThread" not work | 21 Sep 2006 21:37 GMT | 4 |
Hi, guys I have a COM interop object (named as "PlantWrap") which is written with managed c++, the plantwrap is a wrapper for another COM based server, and the threadmodel of that COM server is apartment.
|
| Regasm and GAC problem | 21 Sep 2006 21:29 GMT | 1 |
I have one exe, it depends on some dll file. And they are interop assemblies. I run regasm /codebase, the application can run up sucessfully. But if I only run regasm without /codebase, and install the dll to GAC, then
|
| Simple COM DLL Interop Issue | 21 Sep 2006 16:24 GMT | 6 |
Hello. I've written an in-process server, designed to be multithread safe. I've set the ThreadingModel in the registry to be "Both". Essentialy the IDL is: [
|
| Multiple WebBrowser controls with multiple Excel files | 21 Sep 2006 13:33 GMT | 4 |
I'm writing an MDI app in VS2005 to interop with Excel 2000. I want to provide the user with the ability to view and interact with multiple excel files, each being displayed in its own child window/WebBrowser control. The problem I am having is that when the second excel file ...
|
| OCR in MODI.Document Class in Office 2003 | 21 Sep 2006 06:47 GMT | 4 |
I am trying to OCR a .JPG file using the MODI.Document Class in Office 2003. This is what I do: private void Start_OCR(object sender, System.EventArgs e) {
|
| Using System.Windows.Forms types in COM interop modules | 20 Sep 2006 12:59 GMT | 3 |
I am trying to solve a problem with COM interop from a C# project. My C# projet is a Windows Forms project and there is a component that derives from Forms class. The component also implements an interface that exposes the ShowDialog method of the Forms class to COM clients
|
| Get length of IntPtr in bytes? | 19 Sep 2006 21:45 GMT | 3 |
I am using Interop with a C++ function which returns a pointer to an array of bytes. I'm using an IntPtr and Marshal.Copy to populate a managed array of bytes in C#, however I don't know the size I need to allocate to the array. Is there any way of calculating the size of the
|
| C# VBA DLL issues | 19 Sep 2006 15:38 GMT | 4 |
[I've also asked this question in microsoft.public.dotnet.languages.csharp, and microsoft.public.excel.programming. If there is somewhere else that may be able to help, please point me in the right direction!]
|