<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style>




#aqm-original p.MsoNormal, #aqm-original li.MsoNormal, #aqm-original div.MsoNormal {
margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
} /* style */

#aqm-original a:link, #aqm-original span.MsoHyperlink {
mso-style-priority:99;
        color:blue;
        text-decoration:underline;
} /* style */

#aqm-original .MsoChpDefault {
mso-style-type:export-only;
} /* style */

@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
#aqm-original div.WordSection1 {
page:WordSection1;
} /* style */

</style>
</head>
<body>
<div dir="auto">
<div dir="auto">I'm using the Visual Studio compilers. All modern VS<span style="font-size: 12pt;"> compilers are available via GitHub Actions! I'm most of the time letting GitHub build my Windows binaries, but I do have Visual Studio 2017 installed in a Windows 10 VM for debugging.</span></div><div dir="auto"><br></div><div dir="auto">Tobias</div><div dir='auto'><br></div>
<div id="aqm-original" style="color: black;">
<!-- body start -->
<div class="aqm-original-body">
<div style="color: black;">
<p style="color: black; font-size: 10pt; font-family: sans-serif; margin: 8pt 0;">Am 18. Juli 2020 22:53:23 schrieb "Troy A. Griffitts" <scribe@crosswire.org>:</p>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
    <p>OK guys, another question.</p>
    <p>What exactly does your build environment look like these days for
      win32?  I just tried to boot one of my old Windows VMs with
      Borland/Inprise/Embarcadero build tools and it is in such a sad
      state, I am not even going to attempt to recover that world right
      now.  I'd rather support your build environments.  What are you
      using? cygwin? MicrosoftVS? Something else?</p>
    <p>Troy</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 7/18/20 7:53 PM, Tobias Klein wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:E1jwr1W-0004ox-T8@smtprelay05.ispgateway.de">
      
      
      
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-US">Thanks Greg & Troy
            for pointing out these potential issues. No, I have not
            tested my code properly with non-ascii characters in paths /
            file names.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">I suppose this would
            particularly be an issue if the username has certain
            characters that cause issues? (applicable for the ~/.sword
            directory). And then also, when arbitrary folders are added
            to SWMgr?!<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">I’ll do some testing in
            this area!<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">I wonder whether
            libraries like Qt or Boost have solved these kind of issues
            somehow …<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Best regards,<br>
            Tobias<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div style="mso-element:para-border-div;border:none;border-top:solid
          #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
          <p class="MsoNormal" style="border:none;padding:0cm"><b>From:
            </b><a href="mailto:greg.hellings@gmail.com" moz-do-not-send="true">Greg Hellings</a><br>
            <b>Sent: </b>Samstag, 18. Juli 2020 15:58<br>
            <b>To: </b><a href="mailto:sword-devel@crosswire.org" moz-do-not-send="true">SWORD Developers' Collaboration
              Forum</a><br>
            <b>Subject: </b>Re: [sword-devel] Win32 FileMgr Subclass</p>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div>
            <p class="MsoNormal">Tobias,</p>
            <div>
              <p class="MsoNormal"><o:p> </o:p></p>
            </div>
            <div>
              <p class="MsoNormal">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.</p>
            </div>
            <div>
              <p class="MsoNormal"><o:p> </o:p></p>
            </div>
            <div>
              <p class="MsoNormal">It looks like your code would suffer
                similar to other Sword code, which eventually passes
                through the library's fopen calls.</p>
            </div>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <div>
            <div>
              <p class="MsoNormal">On Sat, Jul 18, 2020, 08:24 Tobias
                Klein <<a href="mailto:contact@tklein.info" target="_blank" moz-do-not-send="true">contact@tklein.info</a>>
                wrote:</p>
            </div>
            <blockquote style="border:none;border-left:solid #CCCCCC
              1.0pt;padding:0cm 0cm 0cm
              6.0pt;margin-left:4.8pt;margin-right:0cm">
              <div>
                <div>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US">Maybe not a full-fledged FileMgr
                      class, but at least everything I need in Ezra
                      Project at the moment:<br>
                      <br>
                    </span><a href="https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.hpp" target="_blank" moz-do-not-send="true">https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.hpp</a></p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.cpp" target="_blank" moz-do-not-send="true">https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.cpp</a></p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">It
                    works on Windows, macOS and Linux.</p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Best
                    regards,<br>
                    Tobias</p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <div style="border:none;border-top:solid #E1E1E1
                    1.0pt;padding:3.0pt 0cm 0cm 0cm">
                    <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>From:
                      </b><a href="mailto:scribe@crosswire.org" target="_blank" moz-do-not-send="true">Troy A.
                        Griffitts</a><br>
                      <b>Sent: </b>Samstag, 18. Juli 2020 14:42<br>
                      <b>To: </b><a href="mailto:sword-devel@crosswire.org" target="_blank" moz-do-not-send="true">SWORD
                        Developers' Collaboration Forum</a><br>
                      <b>Subject: </b>[sword-devel] Win32 FileMgr
                      Subclass</p>
                  </div>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I
                    know Greg has sent me a link to the patch you guys
                    apply to get Xiphos </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">to
                    run well on Win32, but I have searched through all
                    my past emails </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">with
                    every relevant term I can thing of, and still can't
                    find it.  I am </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">sorry, 
                    Could you possibly sent that again? I think you guys
                    were using </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">glib
                    routines.  If possible, I'd like to include
                    something in SWORD more </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">generic,
                    possibly using native Win32 calls.  I've done
                    something similar </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">for
                    a couple projects in the past and need to find all
                    that code.  The </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">only
                    one I keep thinking of off the top of my head is
                    swordreader's </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">wince
                    layer, which I believe is similar to win32 methods,
                    but might need </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">some
                    adapting.</p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="http://crosswire.org/svn/swordreader/trunk/src/Dll1/winceSword/src/" target="_blank" moz-do-not-send="true">http://crosswire.org/svn/swordreader/trunk/src/Dll1/winceSword/src/</a></p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">The
                    Xiphos code would be very helpful, if not just for
                    finding </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">everyplace
                    you needed to make a modification.  Thanks for any
                    help </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">finding
                    it,</p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Troy</p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">_______________________________________________</p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">sword-devel
                    mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank" moz-do-not-send="true">sword-devel@crosswire.org</a></p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank" moz-do-not-send="true">http://www.crosswire.org/mailman/listinfo/sword-devel</a></p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Instructions
                    to unsubscribe/change your settings at above page</p>
                  <p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p>
                </div>
              </div>
            </blockquote>
          </div>
        </div>
        <p class="MsoNormal" style="margin-left:4.8pt">_______________________________________________<br>
          sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank" moz-do-not-send="true">sword-devel@crosswire.org</a><br>
          <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank" moz-do-not-send="true">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
          Instructions to unsubscribe/change your settings at above page</p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
    </blockquote>
  
<div>_______________________________________________</div>
<div>sword-devel mailing list: <a class="aqm-autolink aqm-autowrap" href="mailto:sword-devel%40crosswire.org">sword-devel@crosswire.org</a></div>
<div><a class="aqm-autolink aqm-autowrap" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a></div>
<div>Instructions to unsubscribe/change your settings at above page</div></blockquote>
</div>
</div>
<!-- body end -->

</div><div dir="auto"><br></div>
</div></body>
</html>