I am having trouble setting up opencv in C++ to manually change these properties, but every time I try I get the warning "An unhandled exception of type 'System.AccessViolationException' occurred in OpenCV Code.exe" and an error is thrown.
Here is how I am setting it up (cap is my videocapture object):
cap.set(CV_CAP_PROP_EXPOSURE,0.5);