Other Parts Discussed in Thread: DLPC410, , , DLP7000, DLP7000UV, DLP650LNIR
Hi!
I have a question about programmatically controlling the DLP Discovery 4100. Our team wants use the DLPC410 API to control the device from C++. We are currently trying the direct DLL control (not the ActiveX control). In my C++ file, I have included the header file D4100_usb.h, and I have linked the IDE (CodeBlocks) to the D4100_usb.lib file. Post compilation, I have placed the D4100_usb.dll file in the same directory as the compiled .exe file. Now, I am able to access the functions in D4100_usb.h from my program. But my program is not able to detect or control the D4100 board connected via USB. When I call the function GenNumDev() from my program, I get 0.
Am I missing out some important step, like configuring a driver? I should mention that I am able to successfully control the board using the Discovery Explorer GUI.
Also, is it easier to use ActiveX controls instead? I am not very experienced in C++, and would prefer a simpler alternative.
Thanks!
Sharvaj