| Thread | Last Post | Replies |
|
| waveOutPrepareHeader crashes with Vista x64 | 13 Jun 2007 20:14 GMT | 1 |
I am invoking waveOutPrepareHeader in Vista x64. I am getting the following error: "An invalid parameter was passed to a system function." Here is the code:
|
| log4net implimentation in a DLL ..??? | 12 Jun 2007 20:55 GMT | 1 |
Here is my problem: log4net works fine with my Client (Windows Application .Net 1.1) but does not log any thing when i use it in my server (Com+ DLLs). Does any one know why or how to make it work.
|
| Is there not an easier way to latebind in C#? | 12 Jun 2007 15:40 GMT | 1 |
Rather than p/Invoke, is there not an easier way to Interop to Office products in C# such that I don't have to worry about what version the user is running? In VB it's merely using late binding (Createobject, etc). I don't want to include a reference to VB in my C# program and ...
|
| Attach to all running Excel processes | 12 Jun 2007 13:48 GMT | 6 |
I would like to attach to all running excel applications. I tried System.Runtime.InteropServices.Marshal.GetActiveObject() you get an excel application but you can not specify which one, so this
|
| COM and Marshal Problem | 12 Jun 2007 06:22 GMT | 4 |
I am certainly not an expert to C# and COM/Marshal. I cannot manage how to handle this problem: I want to call the following COM function from a C# Programm: IDL Description: (Simplified)
|
| VB.NET / DLL structure passing | 09 Jun 2007 21:50 GMT | 2 |
I have a third-party DLL (unmanaged) for which I am trying to call a function. The function requires a structure (as an argument) which utilized several variables I am unable to translate. The original C header structures contain (amongst other things that I
|
| Mangaged to Unmanaged code I2C device access violation issue | 09 Jun 2007 18:47 GMT | 2 |
I'm doing a IO Control function call to set a I2C device's frequency as the first part of a sequence of other IO calls. I'm getting an access violation in unmanged code in passing PBYTE pBufIn in the function below's signature. I've included a description of the comments for ...
|
| Load a COM component dinamically | 09 Jun 2007 18:42 GMT | 1 |
One of our enterprise applications must have a reference to a tlb file that exposes methods from a COM component residing on our local network. Not all the users of that application will have to use the functionality of that COM component, thus, it will be no necessary to load ...
|
| Interop and .NET 3 | 09 Jun 2007 18:36 GMT | 2 |
I have an OCX i would like to use in .NET 3 with WPF. I use aximp to create the wrapper. unfortunatly, this creates a Winform 2.0 dependency. I don't want to mix .NET 2 and .NET 3 together....
|
| Help converting C++ interface declare to c# | 09 Jun 2007 18:22 GMT | 1 |
I would greatly appreciate anyone that can help me with the proper way to declare this interface? Here is the C++ declaration: interface IASIO : public IUnknown
|
| COM Interop: One interface fails query interface while another works. | 08 Jun 2007 14:06 GMT | 1 |
While developing a .NET module that uses COM to communicate with the main application, I have seen this strange error. I have a class that I expose to COM (BookAndPlanFormSupport) this class implements two interfaces that are also exposed to COM
|
| how to raise user events in VS 2005 (COM) sub-Winform, handle in V | 06 Jun 2007 19:47 GMT | 1 |
I am trying to raise a user-defined Event in a VB.NET 2005 COM Class (sub)form and have my calling VB6 form handle it. Code samples follow. In the VS 2005 code two events are coded identically - when they are RAISEd in reaction to a Framework Event they WORK, but when
|
| Com Interop and Type.GetType | 06 Jun 2007 08:52 GMT | 2 |
I am using the Microsoft Caching Block with the database as a backend store, and all works fine under .NET. I am trying to get the same code to work when my assembly is called via COM Interop from a VB6 client. When this happens, the caching block falls over because a call to
|
| COM-InterOp Error Message: RPC_E_SERVER_DIED | 04 Jun 2007 15:57 GMT | 3 |
Hi all! I'm getting this message again. I have the <system.windows.forms jitDebugging="true" /> in my config file and it seems like this is not happening while attached to the VB6 client application and debugging. However, while not attached to the VB6 client I am getting this ...
|
| Problems with FindNextPrinterChangeNotification in C# | 03 Jun 2007 11:03 GMT | 3 |
I'm writing a .NET application for monitoring print queues. I can get a handle to a printer by OpenPrinter. I can easily run FindFirstPrinterChangeNotification (but only with IntPtr.Zero as pPrinterNotifyOptions argument) and wait for the printer event. Finally I
|