Oh, I see. Does that mean I'm using a 32-bit version of Visual Studio? (I'm using VS2015.) That may be the case: "Microsoft Visual Studio 14.0" is located in "Program Files (x86) but not in "Program Files" on my computer. Should I uninstall the current version of Visual Studio and then install a 64-bit version?
I figured out the solution to the problem I was having. The issue was not related to the difference between 32 and 64 bits. It was related to the difference in the RealSense SDK library -- maybe this was what you implied in your previous post.
I made two equivalent C++ programs that enables color and depth streams -- one uses the "pxcsensemanager.h" header and the other uses "librealsense2/rs.hpp" header. SR300 works with both programs whereas D435 works only with the latter program. This suggests that "pxcsensemanager.h" is an old version of RealSense SDK you mentioned earlier. Am I correct?
In any case, documentation with regard to the functions included in "librealsense2/rs.hpp" seems quite limited relative to "pxcsensemanager.h" (e.g., Intel® RealSense™ SDK 2016 R2 Documentation ). Are you aware of any documentation as to "librealsense2/rs.hpp"?
Thanks for the feedback! I'm glad you found a solution. I did wonder if it was a 32 / 64 bit issue, but your explanation makes sense. The old Windows SDKs and SDK 2.0 use very different programming language, as SDK 2.0 is an advanced version of the Librealsense open-source SDK.
In regard to rs.hpp documentation: I found an unofficial documentation site maintained by a developer called unanancyowen that enables documentation information to easily be searched with menus at the top of the page.
This is the page for rs.hpp.
Thank you very much for help and also the information on API!
I posted another question atMapping from color to depth using the RealSense SDK 2.0 I'd appreciate if you can help me on that as well.