View Single Post
Posts: 165 | Thanked: 5 times | Joined on Jan 2007 @ Boston MA USA
#217
Originally Posted by gnuite View Post
So, you shouldn't have to do anything, except make sure that the file can be created (that is, that the POI database file setting refers to an actual, valid, writable file location).
D'oh... (hitting self upside head with Stupid Stick)

Got it - autocreate was failing because I nuked not only the file but also the original Maps directory that contained it. So just altering the filespec with that in mind did the right thing.

Truly idiot proof code might take the extra step of creating the target directory if necessary. I guess it depends on how much you're inclined to coddle idiots. ;-)

Anyway, thanks for the tip!