<div dir="ltr"><div>Hello list,</div><div><br></div><div>I am trying to create a VSI File on Memory, in a W10 system, but am unsure how to proceed with path style.</div><div><br></div><div>> VSIFILE* Mem = VSIFileFromMemBuffer("path", (GByte*) NewImg, (vsi_l_offset) (XSize * YSize), FALSE);</div><div>> GDALDataset* DS = (GDALDataset*) GDALOpen("path", GA_ReadOnly);<br></div><div><br></div><div>When doing the traditional Windows backslashes ("\\vsimem\\file.tif") it raises the following error when run: "'\vsimem\file.tif' does not exist in the file system, and is not recognized as a supported dataset name."</div><div><br></div><div>I scooped around some and found a ticket from a decade ago (<a href="https://trac.osgeo.org/gdal/ticket/2318">https://trac.osgeo.org/gdal/ticket/2318</a>) saying I should use the Unix format ("/vsimem/file.tif"), but when doing so it raises: "'/vsimem/file.tif' not recognized as a supported file format.".</div><div><br></div><div>What is the proper way of doing this on Windows?</div><div><br></div><div>P.S.: linking to GDAL 2.0.3 64-bits, compiling with VS2017.<br></div></div>