PDA

View Full Version : showDevicePage() don't open device settings



kubamm
May 15, 2013, 10:04:18
Hi ,
I don't know what can be the problem ,because in Demo App everything is allright .I have just copy it to my WinAPI C++ program but it just do nothing when goes to " m_Grabber.showDevicePage(); " like in the example .

Stefan Geissler
May 15, 2013, 10:43:51
I do not know, which camera you use, therefore please look in the FAQ at:
http://www.theimagingsourceforums.com/faq.php?faq=ic_programming#faq_ic_professional

kubamm
May 16, 2013, 13:07:28
OK , I'm no precisely with that .
I'm using dfk 42buc03 but the problem is not with seeing the camera or selecting it but in pop out window where I choose the device .
In Demoapp when the code goes "m_Grabber.showDevicePage()" window shows and I can choose my Camera - no problem .
In my code it goes the same place and do nothing .No window shows and I don't have idea why .There are no errors when debugging .

kubamm
May 16, 2013, 14:54:38
Problem solved .
I initialized the library in another cpp file and program didn't compile it (I don't know why yet) .Sorry for troubling you .

Stefan Geissler
May 16, 2013, 14:54:48
Hello,

Did you add "DShowLib::InitLibrary()" to you code?


In Demoapp when the code goes "m_Grabber.showDevicePage()" window shows and I can choose my Camera - no problem .

Did you compile the version on your own?