| Thread | Last Post | Replies |
|
| How to Marshaling LPSTR (MFC) to 'Ref String' in C# | 17 Jun 2004 04:07 GMT | 1 |
We have a existing C++ component ( DLL ) that exposes a function ( signature shown below ) called ?GetNextItem?. C++ Signature: HRESULT GetNextItem(LPSTR szFolderEntryID, LPSTR szMessageEntryID, LPSTR szXMLout, LPSTR szDateFrom, LPSTR szDateTo); When we set a reference to ...
|
| Font Object is not shown in VB5... | 17 Jun 2004 03:05 GMT | 3 |
I am building an C# UserControl wich will be used in VB5 as ActiveX- Control. This works fine; only one problem: The "Font" Proptery is not shown in the VB5 designer !? So what could I do ?
|
| Marshal.PtrToStructure - how to make it allocate on stack? | 16 Jun 2004 23:46 GMT | 1 |
CLR profiler shows me that all my calls to Marshal.PtrToStructure(IntPtr, Type) are allocating on heap. I tried to use overload with (IntPtr, object) signature, but because my structure is value (?) calls are causing cordbg to start.
|
| a question about calling unmanged code from managed code | 16 Jun 2004 21:30 GMT | 1 |
how to convert the following strut into safe struct in c#? struct in C++: typedef struct {
|
| aspnet_wp reboot required regularly | 16 Jun 2004 21:22 GMT | 2 |
I have written a ASP.NET (C#) front-end that connects to an unmanaged win32 c++ dll. A few problems occur: -I am unable to use the IO stream (write to an event log) from the dll. Although I can successfully use an IO stream when calling the dll from a
|
| deployment questions | 16 Jun 2004 17:00 GMT | 1 |
I've written a managed DLL in c#. To use it in my VB6 program, I've set the "Register for COM interop" setting in the project properties to True. The VB6 program contains a reference to the DLL, and everything works fine on the development machine.
|
| VBA Primary Interop Assembly? | 16 Jun 2004 06:48 GMT | 1 |
I wonder if Microsoft provides a Primary Interop Assembly for the COM (Visual Basic For Applications [msvbvm60.dll])? I have EXE ActiveX that references the previous VBA file. When I use tlbimp to generate the Interop, it also creates an interop for msvbvm60 and calls it VBA.dll. I ...
|
| Retrieving URLEcho from IE using C#? | 15 Jun 2004 15:34 GMT | 2 |
Is there a preferred way of monitoring activity in IE from a .NET based application? It used to be possible to register for URLEcho events with a DDE server. Since DDE isn't directly supported by .NET, it seems that there should be some relatively straightforward way to do this, ...
|
| ADODB and ADOR interop | 15 Jun 2004 14:37 GMT | 3 |
The ADODB is exposed as .net component in .net framework. However I could not find related .net component for ADOR. Is there a way to get or create this for use with .net framework? Thanks.
|
| MAPI and P/Invoke | 15 Jun 2004 09:54 GMT | 1 |
I am coding an Outlook 2003 plugin in C#. It has become apparent that the only way to get at the data that comprises an email attachment without saving it to disk first is to use the MAPI. The call to MAPIInitialize is no problem and returns with an S_OK. What I'm not quite sure ...
|
| Automation Server in .NET? | 15 Jun 2004 01:44 GMT | 1 |
Can anybody tell a newbie how to create in a .NET language an Automation Server, so that it's running instance could be accessed from VB with GetObject(, "MyServer.Application") like an Office application. Maybe any docs on this topic? Thanks
|
| Differences in ways to wrap .NET objects for use in COM | 14 Jun 2004 23:21 GMT | 1 |
I am curoius about the different ways to create .NET components for use in COM (in particular, VB6). What is the difference between using the IDE template to create a COM-compatible class (example below): ' BEGIN CODE <ComClass(TestCOMClass.ClassId, TestCOMClass.InterfaceId, ...
|
| ComboBox | 14 Jun 2004 21:38 GMT | 2 |
Hi NG How can I get the Window-Handle of the EditBox in a ComboBox? Thomas Bock
|
| Can't release Excel from Memory! | 14 Jun 2004 03:30 GMT | 6 |
I'm trying to handle when my app opens Excel and the user closes it instead of my app. Excel will remain in memory until a reboot. To demonstrate, create a CSharp WinForms app with one button. Here is the button click code:
|
| Passing strings back from COM server when using late binding | 13 Jun 2004 20:26 GMT | 3 |
I'm trying to access a COM object that only supports late binding. This is how it works using VB6: 'Create an S_PLUS application object Dim pApp As Object
|