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 > september 2006 > threads for september 29 - 30, 2006

Filter by week: 1 2 3 4 5

Calling .NET code from ASP
Posted by Mwob at 9/30/2006 9:31:56 AM
Hi, If I call .NET code from ASP by registering the .NET assemblies with COM, how can I tell in my assembly if it is being called from interop? Does anyone know that process actaully executes the .net code - if asp.net code calls my assembly then obviously the process is aspnet_wp... Thank...more >>

C#, Problem trouble shooting PInvoke error.
Posted by karan.shashi NO[at]SPAM gmail.com at 9/29/2006 2:39:22 PM
I keep getting an error while trying to pass a specific struct to a PInvoked method. The error code returned when calling Marshal.GetLastWin32Error() is 0x06F8. I'm trying to consume the setupapi function SetupDiGetDeviceInstallParams. The problematic struct is SP_DEVINSTALL_PARAMS. I fou...more >>

IE Toolbar Visual Style
Posted by David at 9/29/2006 12:28:02 PM
I am currently writing a toolbar for IE in C#, based on the KBBar MSDN sample http://support.microsoft.com/default.aspx?scid=kb;EN-US;821793 Its all working OK, but does anyone know how to get the toolbar to adopt the same 3d appearance as the main IE toolbars? The border of the toolbar does ...more >>

VB.NET DLL for use by Classic ASP - calculating HMACSHA1
Posted by Michael Jahnz at 9/29/2006 12:24:39 PM
I need help getting some VB.NET code (via a DLL) to work with classic ASP to perform HMACSHA1 processing. I've created VB.NET (ApplicationType is Class Library) code using Visual Studio 2005, that can calculate a HMAC hash, Base64Encode the result, and return the value... The VB.NET code is...more >>

Detecting new threads from C#
Posted by Keith Patrick at 9/29/2006 9:45:21 AM
I have a .Net app where I want to monitor other processes & act in response to the creation, suspension, and ending of threads. Does anyone know if this is possible without manually sampling the process' thread list (in other words, actually be notified of these events rather than periodicall...more >>

How do I make C++ enum visible in C#?
Posted by Gregory at 9/29/2006 8:39:02 AM
I have a C++ DLL and Windows Forms C# application. How can I declare an enumeration in C++ DLL that would be visible to C# client? I am using Visual Studio 2005. Thank you in advance. Gregory Khrapunovich ...more >>

How to Implement IEnumString
Posted by TheInquirer at 9/29/2006 8:14:44 AM
Hi, there's this type in .NET 2.0 IEnumString. I'd like to write an implementation of it in my dll which is going to be used by c++ code through COM. how can I set the value of pceltFetched properly if this parameter is not out or ref within the function? int Next ( int celt, [OutAttribu...more >>

RCW reference leak with COM events
Posted by Chris at 9/29/2006 5:03:36 AM
Hi, I have a problem with an RCW reference leak when all of the following conditions are met: 1. A .NET class implements an interface that is defined by a COM typelibrary. For the sake of demonstration this COM interface is called IMyPlugIn. The .NET class is implemented in C# 2.0. 2. Th...more >>



C# interop with classic asp
Posted by elwood.net NO[at]SPAM gmail.com at 9/29/2006 2:08:07 AM
Hi everyone, I have a .NET assembly that I'm using from classic ASP pages. One of the methods of my .NET assembly is returning a string array and I'm not able to retreive this array from the ASP page. I'm having a type mismatch error if I try to intercept the array. public string[] T...more >>


DevelopmentNow Blog