I'm building a windows app that views pictures on a camera (removable device) without copying them to disk.
Problem with most cameras connected through USB is that their path is relative to MyComputer, which is a virtual path and thus contains no drive letter (cf. C:\).
Using "Computer\[Camera Name]\Removable storage\AnotherDirectory\" as a path makes the compiler think I'm using the relative path: ...\Project\bin\Release\Computer\[Camera Name]\Removable storage\AnotherDirectory\
I've found a previous question on Using FolderBrowserDialog on a Removable Device / Removable storage but I'm not accustomed to COM shell interfaces and was wondering if there is a way of just telling the compiler the given path is absolute?
Update
Answering Richards question on how the pictures are read,
first I gather the paths of all jpg in a sequence. then I map that sequence with the function beneath:
let loadPic path=
let bitmap = new BitmapImage()
if System.IO.File.Exists path then
bitmap.BeginInit()
bitmap.UriSource <- Uri(path)
bitmap.CacheOption <- BitmapCacheOption.OnLoad
bitmap.EndInit()
bitmap
Resulting in a sequence of bitmaps which can then be viewed.