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 >>
|