{"id":810,"date":"2014-01-23T10:24:36","date_gmt":"2014-01-23T09:24:36","guid":{"rendered":"http:\/\/labalec.fr\/erwan\/?p=810"},"modified":"2014-03-15T14:20:49","modified_gmt":"2014-03-15T13:20:49","slug":"delphi-upgrade-xe5-tryout","status":"publish","type":"post","link":"https:\/\/labalec.fr\/erwan\/?p=810","title":{"rendered":"Delphi XE5 upgrade tryout"},"content":{"rendered":"<p>Plan is to rewrite all my delphi 7 apps with Delphi XE5.<\/p>\n<p>First to benefit from a more modern IDE, and to stay in synch with libs I used (jvcl, jwa, etc) but also to be able to build 64bits binaries (following this <a href=\"http:\/\/docwiki.embarcadero.com\/RADStudio\/XE4\/fr\/Conversion_des_applications_Delphi_32_bits_en_Windows_64_bits\" target=\"_blank\">guide<\/a>).<br \/>\nAdditionally, building android apps would be a nice plus with this new version.<\/p>\n<p>-Installed a brand new Windows7 x64<br \/>\n-Downloaded and installed the eval version.<br \/>\n-Installed <a href=\"https:\/\/github.com\/project-jedi\/jcl\" target=\"_blank\">JCL<\/a> and <a href=\"https:\/\/github.com\/project-jedi\/jvcl\" target=\"_blank\">JVCL<\/a> (thru github, see <a href=\"http:\/\/stackoverflow.com\/questions\/19593521\/is-there-a-recommended-route-to-installing-jedi-and-jvcl-for-delphi-xe5\" target=\"_blank\">here<\/a>)<br \/>\n-Installed <a href=\"http:\/\/sourceforge.net\/projects\/jedi-apilib\/\" target=\"_blank\">JWA<\/a><br \/>\n-Installed <a href=\"http:\/\/madshi.net\/\" target=\"_blank\">Madshi <\/a><\/p>\n<p>Now the fun starts, CloneDisk delphi projects opens fine in Delphi XE5 (yes!), compiles fine (yes again!) but code needs to be reviewed to work properly.<br \/>\nSide note : x86 binary is much bigger than before. Something to check later.<\/p>\n<p>Let start with the following :<br \/>\n-pchar now means pwidechar (we are now unicode) whereas it meant pansichar in delphi 7, so all ansicode api need to use keyword pansichar.<br \/>\n-replace ansi api by generic ones where possible: i.e messageboxa->messagebox so that it works both in delphi 7\/ansi &#038; delphi xe5\/unicode<\/p>\n<p>Still a long way to build a x64 binary.<\/p>\n<p>To be continued&#8230;<\/p>\n<p>\/Erwan<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Plan is to rewrite all my delphi 7 apps with Delphi XE5. First to benefit from a more modern IDE, and to stay in synch with libs I used (jvcl, jwa, etc) but also to be able to build 64bits binaries (following this guide). Additionally, building android apps would be a nice plus with this <a href='https:\/\/labalec.fr\/erwan\/?p=810' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[82],"class_list":["post-810","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-delphi","category-1-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=810"}],"version-history":[{"count":7,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/810\/revisions"}],"predecessor-version":[{"id":833,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/810\/revisions\/833"}],"wp:attachment":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}