According to documentation on CreateFile() function: "In the ANSI version of this function, the name is limited to MAX_PATH characters. To extend this limit to 32,767 wide characters, call the Unicode version of the function and prepend "\\?\" to the path."
SQLite is already calling CreateFileW() function so all you need is to prepend your file name with "\\?\". Pavel On Wed, Dec 9, 2009 at 12:52 AM, Kishore Ulligadda <[email protected]> wrote: > Dear sqlite, > > > > I am faching problem with below the API, > > > > sqlite3dll_open16(path, &Connection) > > > > Problem Statement: > > When I try to open the .dat file where the length of the Path is 250 > (including filename- length croses 256 ), the API returns the error value = > 14 i.e. Unable to open the database > > > > Kindly provide any alternative solution (or) api’s available for accessing > the “dat” file where the limitation of the length is around 1024. > > > > Thanks and Regards, > > Kishore.U > > ________________________________ > http://www.mindtree.com/email/disclaimer.html > > _______________________________________________ > sqlite-dev mailing list > [email protected] > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-dev > > _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

