The exact same thing as this guy. http://www.thescripts. com/forum/thread765261.ht ml . Turns out that in the end, he thought he solved his problem, but it turns out he didn't. All he did was get the program to return the value of the specific pixel of the picturebox color, not the webcam window (which is what he thought his code did), and didn't realize it.
I'm trying to do this by using the GetPIxel function because I can only reference...
User Profile
Collapse
-
Picture1.hdc returning different value than GetDC(Picture1.hwnd)
Please help guys,
Picture1.hdc is returning a different value than GetDC(Picture1. hwnd)
Look at the source code I've provided. This doesn't make any sense! I need help!
[CODE=vb]Option Explicit
Private Declare Function GetDC Lib "user32" (ByVal hwnd As Long) As Long
Private Declare Function GetPixel Lib "gdi32" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long) As Long...
No activity results to display
Show More
Leave a comment: