Author Topic: Screen Capture for 32 Bit machines  (Read 451 times)

2B||!2B

  • Regular Member
  • *
  • Posts: 21
Re: Screen Capture for 32 Bit machines
« Reply #15 on: July 22, 2018, 02:32:12 PM »
Does your code work on a 64bit machine?


I haven't even tested on 64 bit OS, as Vortex has a 64 bit Screen Capture tool HERE and I am not competing with his tool.


Quote
Is there anyway you can make a quality selection? maybe just a hardcoded value to set in the project for the quality of the image.


As it stands right now, it captures the full window with 24 bit color depth. 


If you wish to modify the code for your own purposes, feel free to do so. I plan on developing this further but not at this time, as I have another project that I am working on.

Cool man thanks. I tested it on a 64bit system and it worked.
Is there any difference between this method of screen capturing and the GDI+ Api's?

zedd151

  • Member
  • ****
  • Posts: 847
Re: Screen Capture for 32 Bit machines
« Reply #16 on: July 22, 2018, 02:40:02 PM »
Is there any difference between this method of screen capturing and the GDI+ Api's?


sure, less code.   :P  Actually I haven't a clue about other screen capture tools gdi plus or otherwise.


I needed a screen cap tool for my switch to Windows XP 32 bit thats why I did this.


as far as the api's used:


Code: [Select]

gdi32.BitBlt
gdi32.CreateCompatibleBitmap
gdi32.CreateCompatibleDC
gdi32.DeleteDC
gdi32.DeleteObject
gdi32.GetDIBits
gdi32.GetObjectA
gdi32.SelectObject
USER32.GetDC
USER32.GetSystemMetrics
USER32.ReleaseDC
kernel32.CloseHandle
kernel32.CreateFileA
kernel32.ExitProcess
kernel32.VirtualAlloc
kernel32.VirtualFree
kernel32.WriteFile
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

daydreamer

  • Member
  • ****
  • Posts: 531
  • reach for the stars
Re: Screen Capture for 32 Bit machines
« Reply #17 on: July 22, 2018, 05:14:32 PM »
Z,it would be nice to have a screencapture tool,that capture to video that works together with xp and ddraw, so it's possible to put up old stuff on YouTube, old stuff that won't work on newer windows
Quote from Flashdance
Nick  :  When you give up your dream, you die.
*wears a flameproof asbestos suit*

zedd151

  • Member
  • ****
  • Posts: 847
Re: Screen Capture for 32 Bit machines
« Reply #18 on: July 22, 2018, 06:02:12 PM »
Z,it would be nice to have a screencapture tool,that capture to video...

I'm sure that would be nice, but unfortunately time is a huge factor. Not enough time to do everything.
 
I made this little tool for a specific purpose for myself, and posted it for anyone else that might find it useful.
 
Anyone can use the sourcecode and modify it to their hearts content, but at present I don't have a lot of time
to do much more with it as I am working on another project which is taking up most of my leisure (coding) time.
I'm not always the sharpest knife in the drawer, but I have my moments.  :P