SHP provider connection string

Mateusz Loskot mateusz at loskot.net
Sun Oct 29 05:38:43 EST 2006


Hi,

What does following code test?

mConnection->SetConnectionString (L"DefaultFileLocation=\"" LOCATION
L"..//Ontario\\~`!@#$%^&()_-+=}{[];',.shp\"" L";TemporaryFileLocation=");

Does it test if !@#$%^&()_-+=}{[]; characters are allowed as a part of
shapefile file name?

I see following files are created by SHP provider UnitTest:

mloskot:~/dev/fdo/_svn/fdoshp/TestData/Ontario$ ls -1
~`!@#$%^&()_-+=}{[];',.dbf
~`!@#$%^&()_-+}{[]',.dbf
lakes.dbf
lakes.sbn
lakes.sbx
lakes.shp
lakes.shx
ontario.dbf
ontario.sbn
ontario.sbx
ontario.shp
ontario.shx
readme.txt
roads.dbf
roads.sbn
roads.sbx
roads.shp
roads.shx
~`!@#$%^&()_-+=}{[];',.sbn
~`!@#$%^&()_-+}{[]',.sbn
~`!@#$%^&()_-+=}{[];',.sbx
~`!@#$%^&()_-+}{[]',.sbx
~`!@#$%^&()_-+=}{[];',.shp
~`!@#$%^&()_-+}{[]',.shp
ShpMixedDecimals.dbf
ShpMixedDecimals.sbn
ShpMixedDecimals.sbx
ShpMixedDecimals.shp
ShpMixedDecimals.shx
~`!@#$%^&()_-+=}{[];',.shx
~`!@#$%^&()_-+}{[]',.shx

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net




More information about the Fdo-internals mailing list