| Thread | Last Post | Replies |
|
| AllocHGlobal Problem: "The object is currently in use elsewhere" | 20 Apr 2004 15:05 GMT | 1 |
When trying to free memory allocated with Marshal.AllocHGlobal, I get the message "The object is currently in use elsewhere Any idea why or how I can fix this? Sample code below int bufferSize = GetGlyphOutline(hdc, (int)c, (int)METRICSFORMAT.GGO_NATIVE, out metrics, 0, IntPtr.Zero, ...
|
| COM and hosted controls in IE | 20 Apr 2004 05:45 GMT | 1 |
I'm working on a .NET C# user control to use it in Windows Forms Applications. This User Control uses a COM Library via RCW. I would like to use the control also through a web page with <OBJECT> tag accessing via IE, in a similar way of old ActiveX Controls The point is that if I ...
|
| What delegate works for BOTH keyboard AND mouse? | 19 Apr 2004 14:32 GMT | 2 |
I got the following signature from the E appendix of Adam Nathan's ".NET and COM...Interoperability Guide". ---------------------------------------------------------
|
| Arrays of float passed by ref | 19 Apr 2004 11:49 GMT | 2 |
I'm currently porting a working VB6 application in Visual c# but I'm having big troubles converting this external function call to a Fortran DLL. I think the problem is about passing arrays by reference as arguments. The VB6 version is
|
| Help 3DES File Encrypt in VB6 to 3DES File Decrypt In VB.NET | 18 Apr 2004 17:44 GMT | 6 |
My problem is two fold. 1) I must support a deployed legacy application written in VB6 SP5. I need to export data from a database, compress it and the encrypt the data using 3DES (to prevent tampering) data gets transmitted at night to the home
|
| InvalidCastException calling Outlook | 18 Apr 2004 13:49 GMT | 2 |
Additional information: QueryInterface for interface Outlook._Application failed. I'm running: golApp = new Outlook.ApplicationClass();
|
| Modifying EntryPoint in DllImportAttribute at runtime | 17 Apr 2004 16:48 GMT | 1 |
I have a C dll that has several functions with following following signature void func_Struct1(Struct1* ptr void func_Struct2(Struct2* ptr .....................................
|
| Exception not thrown in WebBrowser event handlers!!! | 17 Apr 2004 14:25 GMT | 1 |
See the code below. I only get the first messagebox. Private Sub AxWebBrowser1_DocumentComplete(ByVal sender As Object, ByVal e As AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent) Handles AxWebBrowser1.DocumentComplete
|
| structs, pointers and other such magicks... | 17 Apr 2004 03:06 GMT | 1 |
Having asked a question recently about casting a byte buffer to a struct and receiving an excellent response from Mattias Sjorgen (sorry about that o ;) which resulted in the following code struct rec01 ushort rt ..
|
| IDataObject Marshalling | 17 Apr 2004 03:02 GMT | 3 |
Resending: Hi, I am writing a .Net wrapper for the MS object picker, but I am running into a marshalling problem.
|
| NTFS change Journal | 16 Apr 2004 18:10 GMT | 2 |
Hi - are there any examples of reading the NTFS change journal from dotnet? I have been trying to use the FileSystemWatcher, but unfortunately, it doesn't seem to notice files being moved - just the deletion of them
|
| Interop, COM Objects and asp.net | 16 Apr 2004 14:52 GMT | 1 |
We are considering the purchase of some ASP components for a asp.net project. Our knowledge of Interop is very short. Vendor says that their components "are COM objects, not native .NET components, but using COM Interop assemblies you can certainly use them in a .NET environment."
|
| Accessing unmanaged DLL from C# client | 16 Apr 2004 02:11 GMT | 1 |
(Type your message here) How can I dynamically load a unmanaged dll in C#. Is it using DllImport? As in VC, can I use the LoadLibrary() directly? I have an unmanaged C++ DLL which exports certain classes. I want to access these classes from the C# client. I was able to do so by ...
|
| Com + Interface Inheritence | 15 Apr 2004 20:47 GMT | 2 |
I'm using a bunch of Ole Interfaces. Most of them are derrived from OleWindow (IOleInPlaceSiteEx and IOleInPlaceSite are two) So I figured, lets' do this: interface IOleWindow {
|
| unmanaged structs in managed code | 15 Apr 2004 16:16 GMT | 4 |
I hope this is the right place to ask.. I have a VC++ 6 application that reads data from a legacy database. This database consists of 512 byte records, with the first 2 bytes determining the record type (eg 01 = record type 1, 999 = record type 99 etc). Each record type is ...
|