screen capture without DLLs
-
I know I've seen this, but I can't find it, so if someone can throw me a URL or two, that would be awesome! I want to take a screenshot without using any APIs or DLLs or other TLAs (just straight C# methods). The reason is that I want to port it to Linux (using Mono). I'd prefer that it not use anything from Framework 2.0 (only 1.1) because Mono isn't fully implemented for 2.0 yet, but I'll take what I can get.
-Daniel Typing too fast fro my owngood
-
I know I've seen this, but I can't find it, so if someone can throw me a URL or two, that would be awesome! I want to take a screenshot without using any APIs or DLLs or other TLAs (just straight C# methods). The reason is that I want to port it to Linux (using Mono). I'd prefer that it not use anything from Framework 2.0 (only 1.1) because Mono isn't fully implemented for 2.0 yet, but I'll take what I can get.
-Daniel Typing too fast fro my owngood
Hello, I think in Framework 1.1 you will have to use the gdi32.dll methods. In Framwork 2.0 you could use Graphics.CopyFromScreen(); Here is a link to a discusion about that. http://www.codeproject.com/script/comments/forums.asp?msg=1827909&forumid=1649&Page=4&userid=1706763&mode=all#xx1827909xx[^] All the best, Martin
-
I know I've seen this, but I can't find it, so if someone can throw me a URL or two, that would be awesome! I want to take a screenshot without using any APIs or DLLs or other TLAs (just straight C# methods). The reason is that I want to port it to Linux (using Mono). I'd prefer that it not use anything from Framework 2.0 (only 1.1) because Mono isn't fully implemented for 2.0 yet, but I'll take what I can get.
-Daniel Typing too fast fro my owngood
I don't think this is possible through the .NET framework directly. Oh, Graphics.CopyFromScreen works.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: The Lord's Prayer in Aramaic song (audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Hello, I think in Framework 1.1 you will have to use the gdi32.dll methods. In Framwork 2.0 you could use Graphics.CopyFromScreen(); Here is a link to a discusion about that. http://www.codeproject.com/script/comments/forums.asp?msg=1827909&forumid=1649&Page=4&userid=1706763&mode=all#xx1827909xx[^] All the best, Martin
You rock. Thanks! I think I remember that some 2.0 stuff is implemented in mono so far... I'll check it out in MonoDevelop during my lunch. If not, I'll also see if I can use gdi32.dll (does FC6 even have that dll?..., I ask myself). Again, thanks!
-Daniel Typing too fast fro my owngood