Tobias,

Has this been tested with file paths that contain characters outside of the
basic ASCII code range? That's where current Sword fails. Not in fetching
the data for the paths themselves, but the actual calls to fopen and
friends, on Windows, do not understand non ASCII data.

It looks like your code would suffer similar to other Sword code, which
eventually passes through the library's fopen calls.

On Sat, Jul 18, 2020, 08:24 Tobias Klein <cont...@tklein.info> wrote:

> Maybe not a full-fledged FileMgr class, but at least everything I need in
> Ezra Project at the moment:
>
>
> https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.hpp
>
>
>
>
> https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.cpp
>
>
>
> It works on Windows, macOS and Linux.
>
>
>
> Best regards,
> Tobias
>
>
>
> *From: *Troy A. Griffitts <scr...@crosswire.org>
> *Sent: *Samstag, 18. Juli 2020 14:42
> *To: *SWORD Developers' Collaboration Forum <sword-devel@crosswire.org>
> *Subject: *[sword-devel] Win32 FileMgr Subclass
>
>
>
> I know Greg has sent me a link to the patch you guys apply to get Xiphos
>
> to run well on Win32, but I have searched through all my past emails
>
> with every relevant term I can thing of, and still can't find it.  I am
>
> sorry,  Could you possibly sent that again? I think you guys were using
>
> glib routines.  If possible, I'd like to include something in SWORD more
>
> generic, possibly using native Win32 calls.  I've done something similar
>
> for a couple projects in the past and need to find all that code.  The
>
> only one I keep thinking of off the top of my head is swordreader's
>
> wince layer, which I believe is similar to win32 methods, but might need
>
> some adapting.
>
>
>
> http://crosswire.org/svn/swordreader/trunk/src/Dll1/winceSword/src/
>
>
>
> The Xiphos code would be very helpful, if not just for finding
>
> everyplace you needed to make a modification.  Thanks for any help
>
> finding it,
>
>
>
> Troy
>
>
>
>
>
> _______________________________________________
>
> sword-devel mailing list: sword-devel@crosswire.org
>
> http://www.crosswire.org/mailman/listinfo/sword-devel
>
> Instructions to unsubscribe/change your settings at above page
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to