From: p2 on 2 Mar 2007 00:28 Hi I am new to IStillImage interface, for push scanner , i register launch application using following code CComPtr <IStillImage> pStillImage; HRESULT hr; hr=StiCreateInstance(hInstance,STI_VERSION,&pStillImage,NULL); if(FAILED(hr)) { return FALSE; } hr=pStillImage->RegisterLaunchApplication(appKey,command); if(FAILED(hr)) { return FALSE; } it execute sucessfully but when i push button on scanner ,it will not executes exe which is given by command argument, Is there any problem with my code ?? how can i execute command on push scanner ? p2
|
Pages: 1 Prev: Horizontal Scroll Bar Problem in CTreeCtrl Next: DRAWCLI drawing problem |