<div dir="auto">For Xiphos we use the MinGW compiler and library from Xiphos. You should be able to grab them via Cygwin as well, if you prefer? I haven't run actual Windows in a life age to know, though.<div dir="auto"><br></div><div dir="auto">Greg</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 18, 2020, 16:57 Tobias Klein <<a href="mailto:contact@tklein.info">contact@tklein.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>




<div>
<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="m_8921177552954306717aqm-original" style="color:black">

<div>
<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" <<a href="mailto:scribe@crosswire.org" target="_blank" rel="noreferrer">scribe@crosswire.org</a>>:</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>On 7/18/20 7:53 PM, Tobias Klein wrote:<br>
    </div>
    <blockquote type="cite">
      
      
      
      <div class="m_8921177552954306717WordSection1">
        <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.<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></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?!<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">I’ll do some testing in
            this area!<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">I wonder whether
            libraries like Qt or Boost have solved these kind of issues
            somehow …<u></u><u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
        <p class="MsoNormal"><span lang="EN-US">Best regards,<br>
            Tobias<u></u><u></u></span></p>
        <p class="MsoNormal"><u></u> <u></u></p>
        <div style="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" target="_blank" rel="noreferrer">Greg Hellings</a><br>
            <b>Sent: </b>Samstag, 18. Juli 2020 15:58<br>
            <b>To: </b><a href="mailto:sword-devel@crosswire.org" target="_blank" rel="noreferrer">SWORD Developers' Collaboration
              Forum</a><br>
            <b>Subject: </b>Re: [sword-devel] Win32 FileMgr Subclass</p>
        </div>
        <p class="MsoNormal"><u></u> <u></u></p>
        <div>
          <div>
            <p class="MsoNormal">Tobias,</p>
            <div>
              <p class="MsoNormal"><u></u> <u></u></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"><u></u> <u></u></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"><u></u> <u></u></p>
          <div>
            <div>
              <p class="MsoNormal">On Sat, Jul 18, 2020, 08:24 Tobias
                Klein <<a href="mailto:contact@tklein.info" target="_blank" rel="noreferrer">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"><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" rel="noreferrer">https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.hpp</a></p>
                  <p class="MsoNormal"> </p>
                  <p class="MsoNormal"><a href="https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.cpp" target="_blank" rel="noreferrer">https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.cpp</a></p>
                  <p class="MsoNormal"> </p>
                  <p class="MsoNormal">It
                    works on Windows, macOS and Linux.</p>
                  <p class="MsoNormal"> </p>
                  <p class="MsoNormal">Best
                    regards,<br>
                    Tobias</p>
                  <p class="MsoNormal"> </p>
                  <div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
                    <p class="MsoNormal"><b>From:
                      </b><a href="mailto:scribe@crosswire.org" target="_blank" rel="noreferrer">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" rel="noreferrer">SWORD
                        Developers' Collaboration Forum</a><br>
                      <b>Subject: </b>[sword-devel] Win32 FileMgr
                      Subclass</p>
                  </div>
                  <p class="MsoNormal"> </p>
                  <p class="MsoNormal">I
                    know Greg has sent me a link to the patch you guys
                    apply to get Xiphos </p>
                  <p class="MsoNormal">to
                    run well on Win32, but I have searched through all
                    my past emails </p>
                  <p class="MsoNormal">with
                    every relevant term I can thing of, and still can't
                    find it.  I am </p>
                  <p class="MsoNormal">sorry, 
                    Could you possibly sent that again? I think you guys
                    were using </p>
                  <p class="MsoNormal">glib
                    routines.  If possible, I'd like to include
                    something in SWORD more </p>
                  <p class="MsoNormal">generic,
                    possibly using native Win32 calls.  I've done
                    something similar </p>
                  <p class="MsoNormal">for
                    a couple projects in the past and need to find all
                    that code.  The </p>
                  <p class="MsoNormal">only
                    one I keep thinking of off the top of my head is
                    swordreader's </p>
                  <p class="MsoNormal">wince
                    layer, which I believe is similar to win32 methods,
                    but might need </p>
                  <p class="MsoNormal">some
                    adapting.</p>
                  <p class="MsoNormal"> </p>
                  <p class="MsoNormal"><a href="http://crosswire.org/svn/swordreader/trunk/src/Dll1/winceSword/src/" target="_blank" rel="noreferrer">http://crosswire.org/svn/swordreader/trunk/src/Dll1/winceSword/src/</a></p>
                  <p class="MsoNormal"> </p>
                  <p class="MsoNormal">The
                    Xiphos code would be very helpful, if not just for
                    finding </p>
                  <p class="MsoNormal">everyplace
                    you needed to make a modification.  Thanks for any
                    help </p>
                  <p class="MsoNormal">finding
                    it,</p>
                  <p class="MsoNormal"> </p>
                  <p class="MsoNormal">Troy</p>
                  <p class="MsoNormal"> </p>
                  <p class="MsoNormal"> </p>
                  <p class="MsoNormal">_______________________________________________</p>
                  <p class="MsoNormal">sword-devel
                    mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank" rel="noreferrer">sword-devel@crosswire.org</a></p>
                  <p class="MsoNormal"><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank" rel="noreferrer">http://www.crosswire.org/mailman/listinfo/sword-devel</a></p>
                  <p class="MsoNormal">Instructions
                    to unsubscribe/change your settings at above page</p>
                  <p class="MsoNormal"> </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" rel="noreferrer">sword-devel@crosswire.org</a><br>
          <a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank" rel="noreferrer">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
          Instructions to unsubscribe/change your settings at above page</p>
        <p class="MsoNormal"><u></u> <u></u></p>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank" rel="noreferrer">sword-devel@crosswire.org</a>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank" rel="noreferrer">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 href="mailto:sword-devel%40crosswire.org" target="_blank" rel="noreferrer">sword-devel@crosswire.org</a></div>
<div><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank" rel="noreferrer">http://www.crosswire.org/mailman/listinfo/sword-devel</a></div>
<div>Instructions to unsubscribe/change your settings at above page</div></blockquote>
</div>
</div>


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

_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank" rel="noreferrer">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page</blockquote></div>