| Thread | Last Post | Replies |
|
| RegAsm.exe /regfile /codebase | 18 Nov 2005 10:59 GMT | 1 |
Is it allowed to specifiy %windir% in de .reg-file that regasm.exe /codebase /regfile:foo.reg produces? Instead of "CodeBase"="file:///C:/WINDOWS/System32/Concentra.TripleDeal.DLL"
|
| COM interop - Framework Version | 18 Nov 2005 10:41 GMT | 2 |
I've come across a bit of a problem since installing the 2.0 framework. I had created a class library using Visual Studio 2003, with one class configured as a COM object. The project was configured to launch a simple Visual Basic 6.0 project which allowed me to create the ...
|
| PIA for Shell32 | 18 Nov 2005 00:31 GMT | 2 |
Does Microsoft have a Primary Interop Assembly for shell32.dll (Windows XP - SP2)? If not, does MS suggest that developers create and sign their own PIA for this component?
|
| Function Pointers in a struct | 18 Nov 2005 00:09 GMT | 2 |
I need to utilize in managed code some security functions from secur32.dll. To do this, i have to call 'InitSecurityInterface' function, which returns a pointer to a 'SecurityFunctions' struct. This struct have pointers to the
|
| Cost of reflection vs. ref ptrs | 17 Nov 2005 22:25 GMT | 2 |
I need to interface an interpreted non-.NET language with the CLR classes (v. 2.0), for writing winform apps and VS add-ins. The language uses names rather than position or type to distinguish parameters. The .NET framework classes and objects will be exposed through
|
| IContextMenu3.HandleMenuMsg VS2005 | 17 Nov 2005 22:07 GMT | 2 |
Having installed VS2005 pro yesterday (MSDN download version) I am gradually moving my VS2003 stuff over. I am having a problem with IContextMenu3.HandleMenuMsg (called when the Explorer Context Menu is shown) although it worked fine in VS2003. I get an error:
|
| Marshal array in structure | 17 Nov 2005 13:02 GMT | 1 |
I'm trying to interface to InfoZip's Zip32.dll from VB.Net code. The DLL expects a structure with all its input parameters: typedef struct { int argc; // Count of files to zip
|
| Converting pointer to safearray | 17 Nov 2005 02:38 GMT | 5 |
I have a method in C# exposed to COM like this: HRESULT SetArray2([in, out] VARIANT* ar) When an array is passed to this method from VBA, it comes to C# as an integer, like this: [System.Int32]: {-2146826273}. That's a pointer to a
|
| How can one enumerate COM object properties exposed via IDispatch in .NET? | 16 Nov 2005 21:23 GMT | 1 |
I have a COM object implementing IFoo and a property get_Property, put_Property... I can get a CLSID representing an object that implements this and other interfaces, then create it with Activator.CreateInstance and cal object.GetType().InvokeMember for any
|
| registering for COM interop creating duplicate registry entries. | 16 Nov 2005 20:55 GMT | 3 |
I have created small .NET dll, in which I have exposed a number of classes for COM interop using ComVisible(true) on those classes, for example: [ComVisible(true)]
|
| Unmanaged dll, macro definitions | 16 Nov 2005 18:30 GMT | 1 |
I have a third party dll (C++) which I need to call from my c# class. I defined [DllImport("The.dll")] public static extern ...
|
| Debugging SEHException | 16 Nov 2005 11:42 GMT | 3 |
We have a server application that occasionally reports SEHExceptions (only in a production environment of course) when calling a third party dll. Unfortunately, the exception doesn't seem to report anything except that an exception has occurred. After a bit of Googling, I found
|
| vararg SAFEARRAY(VARIANT)* in C# | 16 Nov 2005 11:33 GMT | 3 |
Is there a way to expose to COM a method of a C# type according to the following IDL: [vararg] void MyMethod([in, out] SAFEARRAY(VARIANT)* params)
|
| calling fortran functions from c++ code | 15 Nov 2005 23:57 GMT | 1 |
i have requirement of calling fortran functions from c++ code. I have no idea as how to do this. I did some searching on this but could not figure it as how to do exactly. if you guys can suggest me some good links where i can start.
|
| WaitForMultipleObjects in .net | 15 Nov 2005 17:51 GMT | 5 |
I wanted to use WaitForMultipleObjects in C#. Following is the code: [DllImport("kernel32.dll", SetLastError=true)] static extern int WaitForMultipleObjects ( int nCount, ref IntPtr
|