Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

Motion Detection Block Matching

(Aug 6, 2014 09:30 AM)Fjux Wrote:  i suggest you start looking into C++ or create a class that is unsafe (contains C++ like code) to calculate these things. it will speed up the calculation by around a factor 100, if not more.

a class doesn't have to be unsafe to utilize native code. Anyway, you're in C#, stick to C# if possible. Yes, how it works normally is very slow scanning like that, but simply call lockbits. There is no need for C++ to do something like this.
(Aug 6, 2014 08:34 PM)0xDEAD10CC Wrote:  He never said to use C++ code, he just mentioned that it's more C++-like code when using unsafe context and pointers I would assume. Even though that's not really true, it would be more C-like, because in C++ you typically stay away from pointers for the most part.

C is for real programmers that use loop and not strlen

https://hackforums.net/showthread.php?tid=4382069
(Aug 6, 2014 09:13 PM)0xDEAD10CC Wrote:  Ahh, so excluding you, you mean? I get it now.

Is your interpreter not beside you?
(Aug 6, 2014 09:13 PM)0xDEAD10CC Wrote:  Ahh, so excluding you, you mean? I get it now. It's also a language used by people who know what the difference between a debug and release config are.

Btw:
Code
@"\\.\PhysicalDrive0"

;)

you think i got time for that disable debug info bullshit i program in 2008 express


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Legends] by itcorpJul 29, 2026 01:40 PM 2 176 Jul 29, 2026 01:40 PM
Last Post: itcorp
[Legends] by itcorpJul 13, 2026 06:41 PM 7 397 Jul 13, 2026 06:41 PM
Last Post: CL1B
[Python] by PlutoPicksSep 24, 2020 07:50 PM 4 160 Sep 24, 2020 07:50 PM
Last Post: Lindros