So I found this piece of code that I actually understand (the most of it anyway) so I will be able to learn something from it.
The problem is just 2 errors that I think are very strange.
(158): error C2065: 'true' : undeclared identifier
(160): error C2065: 'true' : undeclared identifier
Here is a piece of the code that I found:
I am really confused about this error.
SendMessage(camhwnd, WM_CAP_SET_SCALE, true, 0);// Here is error 1
SendMessage(camhwnd, WM_CAP_SET_PREVIEWRATE, 30, 0);
SendMessage(camhwnd, WM_CAP_SET_PREVIEW, true, 0);// Here is error 2
If someone could explain it to me, I would appreciate it.