Escape the reverse solstice with a duplicate reverse solstice (\ -> \\) or 
replace them with normal solstice (\ -> /) since Windows recognizes either as 
the path separator.  The CLI, like most things, parses escape sequences on 
input.

Same applies to the C API function.  You specify the full path and name of the 
file.  Since the compiler probably also parses escape sequences in its input, 
you probably need to escape your reverse solstice there as well.

-- 
The fact that there's a Highway to Hell but only a Stairway to Heaven says a 
lot about anticipated traffic volume.

>-----Original Message-----
>From: sqlite-users <sqlite-users-boun...@mailinglists.sqlite.org> On
>Behalf Of Jose Isaias Cabrera
>Sent: Tuesday, 26 November, 2019 12:35
>To: sqlite-users@mailinglists.sqlite.org
>Subject: [sqlite] Passing a path to sqlite3.exe to load a dll
>
>
>Greetings!
>
>I am trying to load a DLL to the DOS tool, but it's failing.  I am
>trying,
>
>sqlite> .load c:\PMOProjects\sqlite3libIN sqlite3_decimal_init
>Error: The specified module could not be found.
>
>Any help would be greatly appreciated.  Also, if I would like to use the
>call,
>
>int sqlite3_load_extension(
>  sqlite3 *db,          /* Load the extension into this database
>connection */
>  const char *zFile,    /* Name of the shared library containing
>extension */
>  const char *zProc,    /* Entry point.  Derived from zFile if 0 */
>  char **pzErrMsg       /* Put error message here if not 0 */
>);
>
>What would be the path to use in Windows?  Thanks so much.
>
>josé
>
>_______________________________________________
>sqlite-users mailing list
>sqlite-users@mailinglists.sqlite.org
>http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users



_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to