Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet interop > january 2007 > threads for january 15 - 21, 2007

Filter by week: 1 2 3 4 5

Trying to Display a non-modal VB6 Form of an AcitveX DLL in C#
Posted by Martin_Bürkle at 1/21/2007 6:07:07 PM
Hallo NG, I'm trying to display a VB6 6 of an ActiveX DLL in c Sharp. I use therefore the SetParent API function. After this function call I get always the error message "Non-modal forms cannot be displayed in this host application from an ActiveX DLL, ActiveX Control, or Property Page.". ...more >>


How to convert String[] to IntPtr (LPCWSTR) ?
Posted by sergio.rykov NO[at]SPAM gmail.com at 1/21/2007 4:53:18 AM
Marshal.StringTo... methods convert only one string to unmanged memory. Native method takes LPCWSTR - an array of strings. How to convert string[] to IntPtr ? I couldn't test one my suggestion .... = Marshal.StringToHGlobalUni("lalala\0lalala2\0lalala3"); ...more >>

Help with CLR security
Posted by Robert Ellis at 1/20/2007 5:02:02 PM
Hi, I would be grateful for advice on the following. Server 1 (Windows 2003 Server) COMSRV1 VB6 COM ActiveX EXE NETSRV1 .NET (VB2005) .DLL Workstation 1 (Windows XP Professional) APP1 VB6 Standard EXE application APP1 calls COMSRV1 using DCOM. This works fine for Do...more >>

How to use VB2005 .dll Class Library in VB6 ?s
Posted by JerryWEC at 1/19/2007 2:03:18 PM
Hi everyone! I'm trying to use my CLA_Logging.dll (VB.net 2005) in VB6. I have used the following to create a type library... tlbexp cla_logging.dll /nologo /silent /verbose tlbexp cla_logging.dll /nologo /verbose Both times the cla_logging.tlb file was created. (only 2k in size ???) ...more >>

Using a .NET COm Interop DLL from VB6
Posted by Chad at 1/19/2007 10:13:23 AM
Can someone please help? I have verylittle time to coirerct this issue: Someone gave me the following .files compiled with Visual Studio 2005 from a ..NET library compiled with COM Interop. Roberto2.tlb Roberto2.dll Not sure what I'm doing...On my PC, I executed these statements: C:\W...more >>

Using .NET dll with vb5
Posted by virallinen NO[at]SPAM gmail.com at 1/19/2007 6:07:45 AM
Hi all I am having problems with using my dll with vb5 program. I created a simple dll with vb.net 2.0 using vs2005 and tested it first on a vb6 program that I created on the same computer as my vs2005 is. Then I copied the the dll file to another computer and used regasm to register it. Cr...more >>

MI5 Persecution: what people said (3967)
Posted by MI5Victim NO[at]SPAM mi5.gov.uk at 1/19/2007 1:30:43 AM
From: aa1gha@zen.sunderland.ac.uk (gillian.hardy) Newsgroups: uk.misc,uk.legal,uk.politics,uk.politics.misc,uk.media Subject: Re: Read About "MI5 Persecution" on the Web! Date: Mon May 13 21:27:26 1996 : In article <Dr5sDI.50x.0.bloor@torfree.net>, bu765@torfree.net wrote: : |> This...more >>

Need help with scripting events from .NET object
Posted by Jayme Pechan at 1/18/2007 9:19:12 AM
I've built an object with a ComSourceInterface using C#. I am then trying to use the control from C++. I can load the control and call functions with no problem but when I try and sink events, I get to the Advise call and it fails with a E_NOTIMPL. I'm assuming this is refering to the fact ...more >>



Implement non-COM C++ interfaces in .NET C#
Posted by Michael Shishkin at 1/17/2007 5:56:08 PM
Looking for help with non-COM C++ interfaces implementation. I can’t find any reference on how to implement / use non-COM C++ interfaces in C#. I have an application that uses COM interfaces from one of the Microsoft services and have no problems using those. However, there are few interfac...more >>

Can you use same interop dll when COM dll version changes?
Posted by Peter Row at 1/16/2007 11:51:49 AM
Hi, If you use the framework to generate an interop assembly or you obtain a primary interop from the vendor and then use it in your application will it still work if the COM DLL gets updated to a new version without having to recompile with a new interop assembly? Obviously if the inter...more >>

Returning pointer to array from C++ COM component to C#
Posted by tony.towers NO[at]SPAM gmail.com at 1/16/2007 10:00:41 AM
I need to use a third party COM component. One of the methods has the idl signature:- HRESULT CalculateHash([in]BYTE* pDataBuffer, [in]long nDataBufferSize, [out, retval] BYTE* pHashResult); Both pDataBuffer and pHashResult are pointers to BYTE arrays, the size of pDataBuffer is governed by...more >>

IErrorInfo to COMException problem
Posted by Burgazon at 1/15/2007 11:12:00 PM
Hi, I have a COM-.NET exception handling problem and I would appreciate your help. I have a COM server that “throws exception” from time to time (the COM object implements ISupportErrorInfo and generates IErrorInfo objects upon errors). The IErrorInfo object that is generated by my CO...more >>

Calling .net window using COM
Posted by Feldaspar at 1/15/2007 10:08:11 PM
Hi, I'm trying to call a .net window using COM, this my .net code: ------------------------------------------------------------- [ComVisible(true)] [ClassInterface(ClassInterfaceType.None)] [ProgId("Hcn.Cv.CVSupportPrompt.1")] [Guid("8DFA5C56-A510-11DB-AB24-9F7255D89593")] public class Cr...more >>

Windows CBT Hooks (Help!)
Posted by andyblum NO[at]SPAM gmail.com at 1/15/2007 9:47:23 AM
I hope you can answer a question. I am writing a poker utility that tracks what windows are open and displays information about opponents that are still playing and their previous history that is stored in a game DB. It is a very cool project with Pattern Recognition (Pixel Screen SCraping to ...more >>


DevelopmentNow Blog