{"id":5392,"date":"2014-03-30T21:23:45","date_gmt":"2014-03-30T21:23:45","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/concatenating-a-string-using-win32-api-collection-of-common-programming-errors\/"},"modified":"2014-03-30T21:23:45","modified_gmt":"2014-03-30T21:23:45","slug":"concatenating-a-string-using-win32-api-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/concatenating-a-string-using-win32-api-collection-of-common-programming-errors\/","title":{"rendered":"Concatenating a string using Win32 API-Collection of common programming errors"},"content":{"rendered":"<p>What&#8217;s the best way to concatenate a string using Win32? If Understand correctly, the normal C approach would be to use <code>strcat<\/code>, but since Win32 now deals with Unicode strings (aka <code>LPWSTR<\/code>), I can&#8217;t think of a way for <code>strcat<\/code> to work with this.<\/p>\n<p>Is there a function for this, or should I just write my own?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What&#8217;s the best way to concatenate a string using Win32? If Understand correctly, the normal C approach would be to use strcat, but since Win32 now deals with Unicode strings (aka LPWSTR), I can&#8217;t think of a way for strcat to work with this. Is there a function for this, or should I just write [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5392","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5392"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5392\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}