| Thread | Last Post | Replies |
|
| Sending chars between VB6 and C#.NET | 31 Mar 2007 15:28 GMT | 2 |
I'm using windows messages and the LParam parameter to send chars as ASCII numbers from VB6 to C#. How can I retrieve the right int value from the IntPtr in .NET? My code:
|
| c# class registered as com class, default register value | 31 Mar 2007 13:28 GMT | 2 |
When you register a c# class as COM object with the Attribute ComVisible(true), Visual Studio, or in our case the installer program handles all the registry entries. One entry made be the installer is the default value underneath the Class
|
| P/invoke an array of structs with embedded char* buffers | 30 Mar 2007 23:59 GMT | 1 |
I've tried several approaches for a few days now & feel its time to ask the gurus. I am making a call to a C++ dll from C# via p/invoke, the api expects an array of structs with pre-allocated buffers. The api populates the
|
| C# to C++ Dll with a pointer to string. | 30 Mar 2007 19:21 GMT | 4 |
I have a C++ DLL that accepts BSTR* and changes its value before returning. I am calling this API from C#. I get changed value in Object[] but not in actual variable. Please see my code snippet to understand.
|
| Attempted to write protected memory error when doing Excel automation | 30 Mar 2007 06:14 GMT | 2 |
It's very strange to have such problem when i want to write an excel using C#. The program is developed in XP sp2 (english), .NET framework 2.0, Office
|
| Excel always running | 28 Mar 2007 18:36 GMT | 3 |
I'm programming an C# application which uses Automation. The problem is when I quit the application a ghost of excel is always running (Can be seen in all processes with th task manager). What is the solution ? Thanks
|
| COM / CLR timeout error when debugging a project that hosts a WebBrowser | 27 Mar 2007 19:46 GMT | 1 |
"The CLR has been unable to transition from COM context 0x1b78c0 to COM context 0x1b7a30 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows ...
|
| Buffer Overrun when .net event fires to a c++ app | 26 Mar 2007 17:14 GMT | 3 |
We are trying to implement COM inside our .NET c# application, that needs to be called from a C++ app. While we can get the properties and methods to work just fine, the C++ client has an issue with the events.
|
| Help with calling C# assembly from an unmanaged C++/MFC application | 26 Mar 2007 16:29 GMT | 1 |
I have some existing unmanaged MFC/C++ application in VS2005 and VS2003. I need to modify these apps to call methods already implemented in an existing C# class library/assembly (retrofit some new functionality) and redeploy the application.
|
| Marshal.GetTypedObjectForIUnknown and reference counts | 26 Mar 2007 16:09 GMT | 3 |
Say I have an interface from IUnknown::QueryInterface that I want available in my .Net program. When QueryInterface returns, I am responsible for Release()ing it, but depending on whether GetTypedObjcetForIUnknown has already wrapped that object, it may or may
|
| Problem with using created COM object with C#.NET 2005 under Excel 2003 (Framework 2.0) | 26 Mar 2007 10:47 GMT | 4 |
This is part of my assembly: [assembly: ComVisible(true)] [assembly: ClassInterfaceAttribute(ClassInterfaceType.None)] // The following GUID is for the ID of the typelib if this project is
|
| Referencing COM DLL's from VS 2003 & 2005 | 26 Mar 2007 03:50 GMT | 3 |
I have a legacy COM application that has PIA's for it's DLL's that are registered in the GAC. In VS 2003, I would add a reference to my project by browsing to the DLL file in the install directory of my legacy app, and it would automatically refer to the version in the GAC (this ...
|
| How to marshal a variable length array in a callback function from unmanaged to managed code? | 25 Mar 2007 16:44 GMT | 2 |
I want to marshal the following C++ struct to a managed callback function: struct CALLBACK_DATA {
|
| HELP! C# calling C++ dll calling back to C# with struct data | 24 Mar 2007 18:38 GMT | 1 |
I am writing a C# application to generate a PowerBuilder PBL library. This is done by making calls to "ORCA", a vendor-provided pborc100.dll (which was written in C or C++.) I have successfully called pborc100 to open and close a session, and
|
| nothing published to COM after tlbexp | 24 Mar 2007 13:02 GMT | 2 |
I try to create a COM Dll in C# 2005 Express that implement a COM interface (Wealth-Lab real time data adapter API). I succeeded in creating a dll for the Wealth-Lab COM interface to implement.
|