
|
Can somebody email me the source code of the SnaperHelper.dll? Thanks,
rparedes@peinc.com
|
|
|
|

|
Please send it to yongluo888@yahoo.com.
Thanks very much!
John888
|
|
|
|

|
can i please have the source to snapperhelper.dll?
localmotion34@hotmail.com
NOTE: there is also a bug with the tracking window that displays the zoom and mouse coordinates. sometimes it will refuse to repaint itself when certain types of windows were open when calling the getregionimage or getwindowimage. id like to be able to fully disable the tracking window.
if ANYONE has the source, please send it to me
|
|
|
|

|
messenger@doglover.com
thank you
|
|
|
|

|
Hi;
I would like to use your dll in my C# application. But when I try to import the dll an error apears.
Could you please help me on this.
Thanks
Hadi
|
|
|
|

|
Any one have SnaperHelper.dll's source code please send it to me.
thanks.
my e-mail : hotsyc0101@hotmail.com
|
|
|
|

|
If I have a machine with no sessions, but jobs are running, will your program be able to capture the screen shot .
I want to manage remote machines, which send a screen shot of their screens every 15 seconds. That I can find out if any error message has popped up on any of the machines.
|
|
|
|

|
Please help , I would desperately appreciate it if you could send me
the source code for screencapture.dll , I am currently creating an application that requires the image from the desktop to be stored in a file.
The tears shed in vain
and the hatred and pain
will be nothing but dust
at the end of the day
|
|
|
|

|
I really don't know why this article is in the CODE project, if there is no CODE...
Use this, it's not perfect, but it's here!
/////////////////////////////////////////////////////////////////////////
//////////////////// THIS CODE WASN'T CREATED BY ME, BUT I DON'T REMEMBER
//////////////////// THE AUTHOR'S NAME. SORRY!
/////////////////////////////////////////////////////////////////////////
public Image CaptureScreen()
{
return CaptureWindow( User32.GetDesktopWindow() );
}
///
/// Creates an Image object containing a screen shot of a specific window
///
/// The handle to the window. (In windows forms, this is obtained by the Handle property)
///
public Image CaptureWindow(IntPtr handle)
{
// get te hDC of the target window
IntPtr hdcSrc = User32.GetWindowDC(handle);
// get the size
User32.RECT windowRect = new User32.RECT();
User32.GetWindowRect(handle,ref windowRect);
int width = windowRect.right - windowRect.left;
int height = windowRect.bottom - windowRect.top;
// create a device context we can copy to
IntPtr hdcDest = GDI32.CreateCompatibleDC(hdcSrc);
// create a bitmap we can copy it to,
// using GetDeviceCaps to get the width/height
IntPtr hBitmap = GDI32.CreateCompatibleBitmap(hdcSrc,width,height);
// select the bitmap object
IntPtr hOld = GDI32.SelectObject(hdcDest,hBitmap);
// bitblt over
GDI32.BitBlt(hdcDest,0,0,width,height,hdcSrc,0,0,GDI32.SRCCOPY);
// restore selection
GDI32.SelectObject(hdcDest,hOld);
// clean up
GDI32.DeleteDC(hdcDest);
User32.ReleaseDC(handle,hdcSrc);
// get a .NET image object for it
Image img = Image.FromHbitmap(hBitmap);
// free up the Bitmap object
GDI32.DeleteObject(hBitmap);
return img;
}
///
/// Captures a screen shot of a specific window, and saves it to a file
///
///
///
///
public void CaptureWindowToFile(IntPtr handle, string filename, ImageFormat format)
{
Image img = CaptureWindow(handle);
img.Save(filename,format);
}
///
/// Captures a screen shot of the entire desktop, and saves it to a file
///
///
///
public void CaptureScreenToFile(string filename, ImageFormat format)
{
Image img = CaptureScreen();
img.Save(filename,format);
}
///
/// Helper class containing Gdi32 API functions
///
private class GDI32
{
public const int SRCCOPY = 0x00CC0020; // BitBlt dwRop parameter
[DllImport("gdi32.dll")]
public static extern bool BitBlt(IntPtr hObject,int nXDest,int nYDest,
int nWidth,int nHeight,IntPtr hObjectSource,
int nXSrc,int nYSrc,int dwRop);
[DllImport("gdi32.dll")]
public static extern IntPtr CreateCompatibleBitmap(IntPtr hDC,int nWidth,
int nHeight);
[DllImport("gdi32.dll")]
public static extern IntPtr CreateCompatibleDC(IntPtr hDC);
[DllImport("gdi32.dll")]
public static extern bool DeleteDC(IntPtr hDC);
[DllImport("gdi32.dll")]
public static extern bool DeleteObject(IntPtr hObject);
[DllImport("gdi32.dll")]
public static extern IntPtr SelectObject(IntPtr hDC,IntPtr hObject);
}
///
/// Helper class containing User32 API functions
///
private class User32
{
[StructLayout(LayoutKind.Sequential)]
public struct RECT
{
public int left;
public int top;
public int right;
public int bottom;
}
[DllImport("user32.dll")]
public static extern IntPtr GetDesktopWindow();
[DllImport("user32.dll")]
public static extern IntPtr GetWindowDC(IntPtr hWnd);
[DllImport("user32.dll")]
public static extern IntPtr ReleaseDC(IntPtr hWnd,IntPtr hDC);
[DllImport("user32.dll")]
public static extern IntPtr GetWindowRect(IntPtr hWnd,ref RECT rect);
}
|
|
|
|

|
Any one have SnaperHelper.dll's source code please send it to me.
thanks.
my e-mail : ayyagari_shankar@yahoo.com
shankar
|
|
|
|