Re: Announcing start of WTL10

"Philipp Kursawe [email protected] [wtl]" <[email protected]> Fri, 22 Sep 2017 09:57:34 +0200
Newsgroups gmane.comp.windows.wtl
Message-ID <CAD6pGjw6N4fhqehs+18CpsapDohW99zjydwhst2=mwDu2YysbQ@mail.gmail.com>
--001a1147b7f807d3b10559c29112
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I am not sure if this dependency on the STL should be dragged into the WTL.
Since std:string already provides c_str() that you can always use to feed
an STL String where WTL:CString is required. Yes its one more allocation
but I don't see that this would have an noticeable impact on the
performance.

Jeff what is the use case you have? Do you want CWindow::getText to return
a std:wstring to save one conversion/allocation?

On Fri, Sep 22, 2017 at 2:27 AM, Nenad Stefanovi=C4=87 [email protected] =
[wtl]
<[email protected]> wrote:

>
>
> Hi Jeff,
>
> That can be done, depending on how many people are requesting it. Since
> WTL already uses CString, you can simply copy values from CString to
> std:string in your code.
>
> I hope that others can reply to this thread if they think that direct use
> of std:string/wstring is needed.
>
> Cheers,
> Nenad
>
>
> On Wed, Sep 20, 2017 at 5:40 PM, 'Jeff Boeker' Jeff-b1ql1gapkFVWk0Htik3J/[email protected] [wtl] <
> [email protected]> wrote:
>
>>
>>
>> Hello Nenad,
>>
>> Is there any interest in supporting std:string/wstring in WTL? I=E2=80=
=99ve
>> already added it internally to several places since my company doesn=E2=
=80=99t use
>> CString.
>>
>> Jeff
>>
>> Begin forwarded message:
>>
>> From: "Nenad Stefanovi=C4=87 [email protected] [wtl]" <wtl@yahoogroups=
.com>
>> Date: September 20, 2017 at 9:11:04 AM GMT+8
>> To: "[email protected]" <[email protected]>
>> Subject: [wtl] Announcing start of WTL10
>> Reply-To: [email protected]
>>
>>
>> Hello everybody,
>>
>> WTL10 is the new version of WTL. The major changes compared to WTL 9.1
>> are removal of certain things, which enabled us to streamline the code t=
o
>> move it forward:
>>
>> - Visual Studio support: now requires VS2005 or newer (supports VS2017)
>>
>> - Removed support for Visual Studio Express (use VS Community)
>>
>> - Removed support for WinCE projects
>>
>> - Removed support for _ATL_MIN_CRT
>>
>> - Removed WTL implementation of CPoint/CSize/CRect/CString (use ATL)
>>
>> - New logo :-)
>>
>> The code is in 'Git' repository (previous one was in 'Code'). This is
>> just an initial commit, and we will now work on adding features and fixi=
ng
>> bugs.
>>
>> Cheers,
>>
>> Nenad
>>
>> [Non-text portions of this message have been removed]
>>
>>
>
>
>=20
>

--001a1147b7f807d3b10559c29112
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable





<head>

<style type=3D"text/css">
<!--

/* start of attachment style */
       .ygrp-photo-title{
         clear: both;
         font-size: smaller;
         height: 15px;
         overflow: hidden;
         text-align: center;
         width: 75px;
       }
       div.ygrp-photo{
         background-position: center;
         background-repeat: no-repeat;
         background-color: white;
         border: 1px solid black;
         height: 62px;
         width: 62px;
       }

       div.photo-title=20
         a,
         div.photo-title a:active,
         div.photo-title a:hover,
         div.photo-title a:visited {
           text-decoration: none;=20
       }

       div.attach-table div.attach-row {
         clear: both;
       }

       div.attach-table div.attach-row div {
         float: left;
         /* margin: 2px;*/
       }

       p {
         clear: both;
         padding: 15px 0 3px 0;
	 overflow: hidden;
       }

       div.ygrp-file {
         width: 30px;
         valign: middle;
       }
       div.attach-table div.attach-row div div a {
         text-decoration: none;
       }

       div.attach-table div.attach-row div div span {
         font-weight: normal;
       }

       div.ygrp-file-title {
         font-weight: bold;
       }
 /* end of attachment style */
        -->
        </style>
        </head>
<html>
<head>
<style type=3D"text/css">
<!--
#ygrp-mkp {
  border: 1px solid #d8d8d8;
  font-family: Arial;
  margin: 10px 0;
  padding: 0 10px;
}

#ygrp-mkp hr {
  border: 1px solid #d8d8d8;
}

#ygrp-mkp #hd {
  color: #628c2a;
  font-size: 85%;
  font-weight: 700;
  line-height: 122%;
  margin: 10px 0;
}

#ygrp-mkp #ads {
  margin-bottom: 10px;
}

#ygrp-mkp .ad {
  padding: 0 0;
}

#ygrp-mkp .ad p {
  margin: 0;
}

#ygrp-mkp .ad a {
  color: #0000ff;
  text-decoration: none;
}
-->
</style>
</head>
<body>



<!-- |**|begin egp html banner|**| -->

<br><br>

<!-- |**|end egp html banner|**| -->


<div dir=3D"ltr">I am not sure if this dependency on the STL should be drag=
ged into the WTL.<div>Since std:string already provides c_str() that you ca=
n always use to feed an STL String where WTL:CString is required. Yes its o=
ne more allocation but I don&#39;t see that this would have an noticeable i=
mpact on the performance.</div><div><br></div><div>Jeff what is the use cas=
e you have? Do you want CWindow::getText to return a std:wstring to save on=
e conversion/allocation?</div></div><div class=3D"gmail_extra"><br><div cla=
ss=3D"gmail_quote">On Fri, Sep 22, 2017 at 2:27 AM, Nenad Stefanovi=C4=87 <=
a href=3D"mailto:[email protected]">[email protected]</a> [wtl] <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">wtl=
@yahoogroups.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






=20=20=20=20=20=20=20=20




<div>





<br><br>




<div dir=3D"ltr">Hi Jeff,<div><br></div><div>That can be done, depending on=
 how many people are requesting it. Since WTL already uses CString, you can=
 simply copy values from CString to std:string in your code.</div><div><br>=
</div><div>I hope that others can reply to this thread if they think that d=
irect use of std:string/wstring is needed.</div><div><br></div><div>Cheers,=
</div><div>Nenad</div><div><br></div></div><div class=3D"gmail_extra"><br><=
div class=3D"gmail_quote">On Wed, Sep 20, 2017 at 5:40 PM, &#39;Jeff Boeker=
&#39; <a href=3D"mailto:Jeff-b1ql1gapkFVWk0Htik3J/[email protected]" target=3D"_blank">Jeff@alcraeft.=
com</a> [wtl] <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" =
target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">


<u></u>









=20
<div style=3D"background-color:#fff">
<span style=3D"display:none">=C2=A0</span>


<div id=3D"m_2873775927347566465m_-6255852137115714642ygrp-mlmsg">
  <div id=3D"m_2873775927347566465m_-6255852137115714642ygrp-msg">


    <div id=3D"m_2873775927347566465m_-6255852137115714642ygrp-text">
=20=20=20=20=20=20
=20=20=20=20=20=20
      <p>Hello Nenad,<br>
<br>
Is there any interest in supporting std:string/wstring in WTL? I=E2=80=99ve=
 already added it internally to several places since my company doesn=E2=80=
=99t use CString.<br>
<br>
Jeff<br>
<br>
Begin forwarded message:<br>
<br>
From: &quot;Nenad Stefanovi=C4=87 <a href=3D"mailto:[email protected]" ta=
rget=3D"_blank">[email protected]</a> [wtl]&quot; &lt;<a href=3D"mailto:w=
[email protected]" target=3D"_blank">[email protected]</a>&gt;<br>
Date: September 20, 2017 at 9:11:04 AM GMT+8<br>
To: &quot;<a href=3D"mailto:[email protected]" target=3D"_blank">wtl@yaho=
ogroups.com</a>&quot; &lt;<a href=3D"mailto:[email protected]" target=3D"=
_blank">[email protected]</a>&gt;<br>
Subject: [wtl] Announcing start of WTL10<br>
Reply-To: <a href=3D"mailto:[email protected]" target=3D"_blank">wtl@yaho=
ogroups.com</a></p><div><div class=3D"m_2873775927347566465h5"><br>
<br>
Hello everybody,<br>
<br>
WTL10 is the new version of WTL. The major changes compared to WTL 9.1 are =
removal of certain things, which enabled us to streamline the code to move =
it forward:<br>
<br>
- Visual Studio support: now requires VS2005 or newer (supports VS2017)<br>
<br>
- Removed support for Visual Studio Express (use VS Community)<br>
<br>
- Removed support for WinCE projects<br>
<br>
- Removed support for _ATL_MIN_CRT<br>
<br>
- Removed WTL implementation of CPoint/CSize/CRect/CString (use ATL)<br>
<br>
- New logo :-)<br>
<br>
The code is in &#39;Git&#39; repository (previous one was in &#39;Code&#39;=
). This is just an initial commit, and we will now work on adding features =
and fixing bugs.<br>
<br>
Cheers,<br>
<br>
Nenad<br>
<br></div></div>
[Non-text portions of this message have been removed]<br>
<br>
<p></p>

    </div>
=20=20=20=20=20

=20=20=20=20
    <div style=3D"color:#fff;height:0"></div>


</div>



=20=20






</div></div></blockquote></div><br></div>






<br>


<br>




<div width=3D"1" style=3D"color:white;clear:both"></div>



</blockquote></div><br></div>




<!-- |**|begin egp html banner|**| -->

<br>


<br>

<!-- |**|end egp html banner|**| -->


<div width=3D"1" style=3D"color: white; clear: both;"/>__._,_.___</div>

=20=20=20=20=20=20
=20=20

=20=20=20=20
    <div id=3D"fromDMARC" style=3D"clear:both; margin-top: 10px;">
         <hr style=3D"height:2px ; border-width:0; color:#E3E3E3; backgroun=
d-color:#E3E3E3;">
         Posted by: Philipp Kursawe &lt;[email protected]&gt;         =
<hr style=3D"height:2px ; border-width:0; color:#E3E3E3; background-color:#=
E3E3E3;">
    </div>
<!-- Start Recommendations -->
<!-- End Recommendations -->



<!-- |**|begin egp html banner|**| -->

  <img src=3D"http://geo.yahoo.com/serv?s=3D97476590/grpId=3D488621/grpspId=
=3D1705006764/msgId=3D16741/stime=3D1506067580" width=3D"1" height=3D"1"> <=
br>

<!-- |**|end egp html banner|**| -->

=20=20
<!-- |**|begin egp html banner|**| -->

<br>



=20=20=20
=20=20=20=20=20
=20
        <!-- |**|begin egp html banner|**| -->
        <div id=3D"ygrp-vital" style=3D"background-color: #f2f2f2; font-fam=
ily: Verdana; font-size: 10px; margin-bottom: 10px; padding: 10px;">

        <span id=3D"vithd" style=3D"font-weight: bold; color: #333; text-tr=
ansform: uppercase; "><a href=3D"https://groups.yahoo.com/neo/groups/wtl/in=
fo;_ylc=3DX3oDMTJkZTI3NGpqBF9TAzk3MzU5NzE0BGdycElkAzQ4ODYyMQRncnBzcElkAzE3M=
DUwMDY3NjQEc2VjA3Z0bARzbGsDdmdocARzdGltZQMxNTA2MDY3NTgw" style=3D"text-deco=
ration: none;">Visit Your Group</a></span>

     <ul style=3D"list-style-type: none; margin: 0; padding: 0; display: in=
line;">
                                                    </ul>
  </div>


<div id=3D"ft" style=3D"font-family: Arial; font-size: 11px; margin-top: 5p=
x; padding: 0 2px 0 0; clear: both;">
  <a href=3D"https://groups.yahoo.com/neo;_ylc=3DX3oDMTJjZ2VnZWgwBF9TAzk3ND=
c2NTkwBGdycElkAzQ4ODYyMQRncnBzcElkAzE3MDUwMDY3NjQEc2VjA2Z0cgRzbGsDZ2ZwBHN0a=
W1lAzE1MDYwNjc1ODA-" style=3D"float: left;"><img src=3D"http://l.yimg.com/r=
u/static/images/yg/img/email/new_logo/logo-groups-137x15.png" height=3D"15"=
 width=3D"137" alt=3D"Yahoo! Groups" style=3D"border: 0;"/></a>
  <div style=3D"color: #747575; float: right;"> &bull; <a href=3D"https://i=
nfo.yahoo.com/privacy/us/yahoo/groups/details.html" style=3D"text-decoratio=
n: none;">Privacy</a> &bull; <a href=3D"mailto:wtl-unsubscribe@yahoogroups.=
com?subject=3DUnsubscribe" style=3D"text-decoration: none;">Unsubscribe</a>=
 &bull; <a href=3D"https://info.yahoo.com/legal/us/yahoo/utos/terms/" style=
=3D"text-decoration: none;">Terms of Use</a> </div>
</div>

<!-- |**|end egp html banner|**| -->

  </div> <!-- ygrp-msg -->

=20=20=20


  <br>

<!-- |**|end egp html banner|**| -->


<div style=3D"color: white; clear: both;"/>__,_._,___</div>
</body>

</html>

--001a1147b7f807d3b10559c29112--