| Thread | Last Post | Replies |
|
| How to pass parameter - driving me crazy? | 13 Dec 2004 14:34 GMT | 3 |
The example to make the dll call work in vb is like this: sAnswer = oleOldObject.Request(Array("CODEZ", "LARRY", "JONES", "00")) The interop has described the method this way: public abstract new System.Object Request ( System.Object sMessages )
|
| C# Structure problem | 13 Dec 2004 14:15 GMT | 1 |
I have converted a couple of C++ structures to C#. /* typedef ULONGLONG BTH_ADDR; typedef struct _BLUETOOTH_ADDRESS {
|
| LINEDEVCAPS structure | 13 Dec 2004 13:47 GMT | 1 |
I have to marshal LINEDEVCAPS structure for TAPI in the call to lineGetDevCaps. [DllImport("Tapi32.dll",CharSet=CharSet.Auto,EntryPoint="lineGetDevCaps")] private static extern uint (int hLineApp,uint dwDeviceID,uint dwAPIVersion,
|
| GCHandle | 13 Dec 2004 13:37 GMT | 2 |
I am using Windows Forms and C# to access a COM object. The COM object (“tablet” in the code examples below) requires a window handle. I am using the form handle (this.Handle) to pass to the COM object. I had assumed that I would have to use a GCHandle to pass to the COM ...
|
| Can't communicate with COM server, QueryInterface Failed | 13 Dec 2004 05:29 GMT | 8 |
I have a c# program that instantiates a C++ COM server program. I then try to call a method on the server object and get the following: An unhandled exception of type 'System.InvalidCastException' occurred in mscorlib.dll
|
| Cretating a COM object using .NET Interop | 12 Dec 2004 06:25 GMT | 1 |
I am fairly new to COM, but have been using C# for quite a while. What I am looking at doing is to create a DCOM Server for a client which is already written. I have all the interfaces required, my question is how do I create these
|
| Error calling API from VB.NET | 12 Dec 2004 06:17 GMT | 3 |
I am attempting to call a function on the RightFax API from VB.NET. The original declaration for the function in VB 6.0 is: Declare Function RFVB_SendFiles1 Lib "RF2VB.DLL" (ByVal hServer As Long, _ ByVal lFI10Object As Long, _
|
| calling .NET dll works from vbs but not from classic asp on windows server 2003 | 11 Dec 2004 05:21 GMT | 1 |
I go through the following steps which work on my development machine, but not on the production web server. I create a simple hello world style C# dll. I put it in my system32 folder
|
| Office 2000 and Primary Interop Assembly | 10 Dec 2004 23:55 GMT | 1 |
I have seen that MS has published PIA's for Office XP (2002), anyone knows if they (or some other company) have also published PIA's for Office 2000 ? Or may the PIA's for Office XP also be used for Office 2000 ? Perhaps possible to do myself (by using tlbimp and appropriate ...
|
| Is that possible to create a native DLL using VB.NET | 10 Dec 2004 23:53 GMT | 1 |
My story is : A third party application is extensible using the Windows DLL interface. It defines a well-formated import/export DLL interface to commuicate with the extensions. The extension is required to implement all these DLL interfaces to be able to plug into the ...
|
| Where is the Word Interop DLL? | 10 Dec 2004 22:57 GMT | 2 |
Stupid question, but where exactly is the Word (2003) interop DLL located? I've installed the .NET Programmability Support in the Office setup and Microsoft.Office.Word.Interop is listed in the GAC - but where's the DLL so I can reference it from my VS.NET project?
|
| TAPI 2.0 interops | 10 Dec 2004 22:05 GMT | 2 |
I would like use TAPI 2.0 with pinvoke is it possible?
|
| How to assign an object reference to an System.IntPtr structure?? | 10 Dec 2004 12:05 GMT | 2 |
I have got an Interface method that takes a void*. Dot Net interprets it as a System.IntPtr structure. I now want to pass a COM interface reference through the IntPtr type. How can i achieve this???
|
| Why does COM not find the file? | 09 Dec 2004 19:17 GMT | 6 |
I have written a C# executable, which I run regasm on to register it as a COM class for use in some unmanaged C++ code. Im the C++ code, I import the mscorlib.tlb and my .tlb file, declare some interface variables, and start COM just fine... but when I try to get an
|
| How to Marshal wchar** | 09 Dec 2004 17:09 GMT | 2 |
I have a .Net Com Server being called by an unmanaged c++ program. They both implement a common interface which passes a string by means of a double pointer (c++ interface: [in, out] wchar_t**). In the .Net Com server I am supposed to free the memory and allocate new
|