I have a combobox with a list of digital cameras attached to a pc and a treeview that gets populated when the user selects one of the listed cameras.
ImageEnView1.IO.TwainParams.SelectedSource := Camera1.ItemIndex;
ImageEnView1.IO.SetAcquireSource(ieaWIA, Camera1.ItemIndex);
TreeView1.Items.Clear;
ImageEnView1.IO.WIAParams.FillTreeView(TreeView1.Items, False);
TreeView1.FullExpand;
This works fine on my laptop that is running Windows 8.1, but is failing on my desktop that is running Windows 7 in that the only item listed in the treeview is "...DCIM"
Note: I originally tried the code
ImageEnView1.IO.SetAcquireSource(iDeviceSource.Api, iDeviceSource.Location)
but that did not update the treeview when the user picked a different device; as that seems to only use the first device on the list, I modified the code.
Any ideas? Thanks!