{"id":472,"date":"2023-05-29T02:15:36","date_gmt":"2023-05-29T02:15:36","guid":{"rendered":"http:\/\/basicwebsitesolutions.com\/blog\/?p=472"},"modified":"2023-05-29T02:15:37","modified_gmt":"2023-05-29T02:15:37","slug":"delphi-internal-error-la33-and-rlink32-dll-finally-found-out-why-solved","status":"publish","type":"post","link":"https:\/\/basicwebsitesolutions.com\/blog\/2023\/05\/29\/delphi-internal-error-la33-and-rlink32-dll-finally-found-out-why-solved\/","title":{"rendered":"Delphi Internal Error LA33 and RLink32.dll &#8211; Finally Found Out Why [SOLVED]"},"content":{"rendered":"\n<p>When doing Delphi App i encounter LA33 and RLink32 error which causes the app to crash during compiling. Sometimes I get away with being able to compile the EXE on some days, but other days, it just won&#8217;t do.<\/p>\n\n\n\n<p>\u00a0Access violation at address 062B487B in module RLINK32.DLL.\u00a0Read of address 0C5DOD4A.<\/p>\n\n\n\n<p>I researched and encountered the following solutions<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Remove the .res file of your application. This would result in loosing your icon file. So when i do this step, i need to re-attach the icon file again.<\/li><li>Removing the .dcu files from your application. This sometimes work from me but a lot of times, it doesn&#8217;t as well.<\/li><li>I had increased the ram of my pc since when i read it, it was a memory problem. So far it sped up my pc but still the problem persists.<\/li><\/ol>\n\n\n\n<p>I had researched the issue again and found out a very small link that had the same problem as mine that might not exists in a lot of other developers out there. You see, my application is branched out to different companies under the same industry. <\/p>\n\n\n\n<p>Let me explain, so if you have 3 companies buying-and-selling, i would create a single application that is saved 3 times in the same folder. So we have company1.exe, company2.exe and company3.exe. <\/p>\n\n\n\n<p>As it turns out in the project file of the app, when the system uses the word {$R *.res} it tries to read the .res file fo the project. Since i had 3 of them, it made the compiler dizzy which one to choose. So when i erased the .res file before it sort of worked for a while<\/p>\n\n\n\n<p>This is the solution.  In the project unit, please change the line to {$R FileName.res} where the FileName is the name of the exe you are creating. <\/p>\n\n\n\n<p>So instead of using  {$R *.res} , please write  {$R company1.res} <\/p>\n\n\n\n<p>This is the original reply from one of the posts that i found. Thank you <strong>Lepe<\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>This error usually occurs when we save the project 2 times in the same folder with different names, in which case 2 files are created Resource:\r\n\r\nProject1.res\r\nMyApplication.res\r\n\r\nI've ever had problems like that, and I solved it like this, although now I test with bds2006 and I don't get any warning .<\/code><\/pre>\n\n\n\n<p>Enjoy <\/p>\n\n\n\n<p>Coffee Cup<\/p>\n\n\n\n<p><a href=\"https:\/\/www.clubdelphi.com\/foros\/showthread.php?t=50948\">https:\/\/www.clubdelphi.com\/foros\/showthread.php?t=50948<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When doing Delphi App i encounter LA33 and RLink32 error which causes the app to crash during compiling. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,1],"tags":[296,295,294,36,293,274],"class_list":["post-472","post","type-post","status-publish","format-standard","hentry","category-day-to-day-life","category-delphi-and-interbase","category-life-as-a-programmer","tag-dcu-files","tag-res-files","tag-access-violation","tag-delphi","tag-la33","tag-rlink32-dll"],"_links":{"self":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts\/472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=472"}],"version-history":[{"count":1,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts\/472\/revisions"}],"predecessor-version":[{"id":473,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts\/472\/revisions\/473"}],"wp:attachment":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}