| Thread | Last Post | Replies |
|
| dllimport Byte array Marshal | 09 Sep 2005 20:00 GMT | 1 |
Hallo to everyone, I have a dll called (picboot.dll) written in c++ that works in a vb6 project. I'm trying to convert the vb project in c#. PacketData is a byte array parameter, that reads and writes bytes to the
|
| when to use com+ | 09 Sep 2005 19:48 GMT | 1 |
I am basically new to the .net framework but I have experience working with Visual Basic 6.0. I just started to work in a company where I am the only programmer. I am told that I will write new code in Visual Basic.NET and
|
| VARIANT (automation type) in C#? | 09 Sep 2005 11:19 GMT | 2 |
The ActiveX control takes this VARIANT as function argument: [id(3), helpstring("method Init")] HRESULT Init([in] VARIANT a_properties); I'm assigning it in C# as: someCOM.Init("C:\\abc.xml");
|
| Union of structs in C# | 09 Sep 2005 00:35 GMT | 2 |
How far is it possible to handle unmanaged C++ declarations of unions i C#?? A struct with a union is resolved wit [StructLayout(LayoutKind.Explicit)] and [FieldOffset(pos)] but wha about this one??
|
| Has anyone PInvoked the Toolhelp32 functions? | 07 Sep 2005 20:31 GMT | 6 |
I'm trying to use the Toolhelp32 functions to enumerate processes, specifically because I need to get the Parent Process ID of a specific process (to know who launched it). The CreateToolhelp32Snapshot call does not fail (does not return an
|
| w3wp.exe crash | 07 Sep 2005 07:06 GMT | 1 |
I have an webapplication written in ASP that talks to a dotnet app hosted in a winservice application via .net remoting. The server is based upon a singleton object that serves multiple ASP websites. About three times a week the w3wp.exe process crashes and debugging the
|
| BITS 2.0 | 07 Sep 2005 01:06 GMT | 1 |
Is there a BackgroundCopyManager.dll created for BITS 2.0 and where could I get it? Thanks, Bill
|
| .NET events do not execute on primary thread | 06 Sep 2005 11:02 GMT | 9 |
My .NET application handles events from an out-of-proc COM server. These events do not execute on the app's primary thread, however. Is this a consequence of COM Interop or can this be controlled? (The .NET app is configured to run in a STA.) In a VB6 program, the events are ...
|
| newbie question: c# and Excel | 02 Sep 2005 18:49 GMT | 3 |
Newbie question. I see lots of details about how to use COM to create and manipulate Excel objects from c# here and elsewhere on the web. We're going to re-work a VBA application that we have that does some complex manipulations of Excel files, and one thing that we're ...
|
| Registration of .NET DLL for COM Interop | 02 Sep 2005 16:13 GMT | 3 |
I have developed a .NET DLL for another team who will be deploying it with their VB6 application. This DLL must also work with .NET applications in the near future. This team has been able to succesfully integrate my .NET DLL with their VB6 application, but it appears that each ...
|
| COM Interop: map IServiceProvider interface to managed code. | 01 Sep 2005 23:45 GMT | 1 |
Can you help me to solve this issue.... Im working with DirectShow and Windows Media Format SDKs from a C# app so there is a lot of interop library work (http://directshownet.sourceforge.net), this access to directshow is great but there is a task i want to do that requires me to ...
|
| Marshal callback containing unsigned char * in signature | 01 Sep 2005 19:35 GMT | 5 |
I'm running into a brick wall here. I have a C dll I'm trying to use from my C# code. I've read a lot on this and can't figure out what is going wrong. This dll is working from a C program, so I feel it must be something I've done wrong in the C# client. The main roadblock is on ...
|
| Passing C# delegates to C++ functions expecting a function pointer | 01 Sep 2005 17:14 GMT | 2 |
I am writing a C# interface to a C++ / C driver for a hardware card and I am having the following issue when trying to set up a callback function. When the card generates an event that causes the driver to invoke the callback, Visual Studio (or the application if running the ...
|
| Interop: Using WriteProcessMemory on LVITEM Structure | 01 Sep 2005 13:05 GMT | 3 |
I have defined LVITEM as follows: <StructLayout(LayoutKind.Sequential)> Private Structure LVITEM Dim mask As Int16 Dim iItem As Int16
|
| C# Win32 Interop - LVM_GETITEMTEXT does not work | 01 Sep 2005 09:35 GMT | 4 |
I'm trying to access listview control in a VB application from C# application. Follwoing is my code StructLayoutAttribute(LayoutKind.Sequential)]
|