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 > july 2004 > threads for july 29 - 31, 2004

Filter by week: 1 2 3 4 5

subclass a window
Posted by Steven at 7/30/2004 7:30:49 PM
Hi all, I am trying subclass a window that belongs to another process and catch the WM_CLOSE message and update my process' user interface. Does anyone have any code, pointers to code, or ideas that will accomplish this end? Thanks, Steve ...more >>


COM interop registration failed error
Posted by pkujchliu NO[at]SPAM yahoo.com at 7/30/2004 4:48:35 PM
I know of a *lot* of people have posted message of this error: COM interop registration failed error. Type library exported encountered an error while processing '***'. Error: Type library export can not load type '*****'(error: Sytem.TypeLoadException: method ****** in **** doesn't have an impl...more >>

Marshal SCSI_PASS_THROUGH
Posted by Scott at 7/30/2004 2:07:02 PM
I've recreated the SCSI_PASS_THROUGH from ntddscsi.h and then tried to use the Marshal routines to set up the structures and call DeviceIoControl. I always get a failure on the Marshal.StructureToPtr call saying that I didn't pass a real object. Here's what I'm doing: [StructLayout(LayoutKind.S...more >>

Understanding Marshal when a string is to be returned from the API
Posted by Just Me at 7/30/2004 11:29:59 AM
I've tried to get an answer to this before in a NG that usually answers so I'd guess it is not common knowledge. The following does work. 1) I'd like to kinow me why String works in this case. Since String can't be changed I thought StringBuilder should be used since I'm looking for a retur...more >>

winspool.drv interop?
Posted by Harry Simpson at 7/30/2004 11:16:16 AM
Can winspool.drv be interopted for a Windows Forms application. The WMI is not bringing back accurate info on status so.... I've got API declares but the API call is very unstable and crashes and brings down the call app. Try catches just don't work. Help! Harry ...more >>

Unable to get the window handle for the 'AxWebBrowser' control.
Posted by TS at 7/29/2004 11:41:45 AM
Unable to get the window handle for the 'AxWebBrowser' control. Windowless ActiveX controls are not supported. I am using the active x microsft web browser control. I am using a windows application in c#. I have a form that uses this control and it works ok, then when this new form finishes lo...more >>

How to detect network cable disconnection
Posted by vijaypatil78 NO[at]SPAM yahoo.com at 7/29/2004 3:13:46 AM
Hi all, i have TCP client server application written in C# using async socket methods, eg BeginReceive(), BeginEnd() etc server is continuesly running in the background, client connect to server and recives data from server. If server application shuts down client immedeatly recieves d...more >>



DevelopmentNow Blog