From: p2 on
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