Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7989795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:50:45+00:00 2026-06-04T12:50:45+00:00

I’ve been banging my head against this for the past two days and can’t

  • 0

I’ve been banging my head against this for the past two days and can’t seem to make any progress…

Pretty much from one moment to the next, Delphi XE2 won’t properly compile one of my projects any more. That is, it actually compiles without errors but at runtime I get resource not found errors for what is essentially the main “form” (it’s actually a data module in this case). I have already reverted to older versions of the project from source control that I know were definitely working alright but to no avail. Judging by that it seems it must be something inside Delphi/the IDE itself rather than in the project source. However, I have also not been able to reproduce the issue with a simple test project nor with any other real-life projects… It only happens with this one.

Another strange thing is that when I look at the produced binary with XN Resource Explorer everything looks as it should: The form resource mentioned in the error message is actually there and intact…

At some point I was suspecting this might be caused by a bug in one of the experts I have installed in my IDE (e.g. Uwe’s platform and OI experts and VersionInsightPlus, Andreas’ IDEFixPack and DDevExtensions, GExperts) but even after disabling all these the problem persisted.

Unfortunately, I am unable to track down exactly when this started to happen as I had been working for some time without actually running the binary, fixing compiler warnings and errors for the x64-target, adjusting build events for updated third-party tools (localization and license protection) and such things…

Has anyone else ever seen anything like this happen? Any more ideas on how to pin this down?


Some more details about the project:

  • It is an addin for Outlook built using the Add-In-Express framework (i.e. a COM-DLL).
  • The “main form” is a TDataModule-descendant – we also inserted our own ancestor-class into the hierarchy, i.e. the “addin module” is not directly inheriting from TadxCOMAddInModule – the resources of the custom ancestor forms also appear to be present and intact in the output binary when checking with a resource viewer.
  • Built without runtime packages for the Win32 and Win64 platforms.

Let me know if you think I missed to mention any other potentially relevant details.

Update:
I have now transferred the sources in question onto a different machine. Interestingly, the DLL I compiled there did not exhibit the problem – on that machine that is… when I transfered it back to the original machine and I tried to call it, the error was back (to stress this: this was the exact same DLL producing a EResNotFound on one machine but not on the other. Of course, once I had discovered this, I also performed the reverse test and lo and behold, the DLL compiled on the original machine works without errors on the other machine…
Seems this might not be a Delphi problem after all… but what is it then?

Differences between the two machines:

  • Machine 1 (the one were the problem occurs): Windows 7 Ultimate English 64bit with Delphi XE2 Update 4
  • Machine 2: Windows 7 Professional German 32bit with Delphi XE2 Update 3

On a third machine that is almost identical to the first except that it doesn’t have Delphi on it, DLLs produced by both machines work flawlessly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T12:50:47+00:00Added an answer on June 4, 2026 at 12:50 pm

    Update: Seems I was a bit too quick, drawing conclusions. Apparently the Sisulizer solution is also supposed to perform a fallback to the main resource block. I have now taken this issue to the product forum and will report back here, once this is resolved.


    Alright, mystery solved at last:

    I had turned off the option to “Copy all resources” in Sisulizer in an attempt to reduce the size of the produced resource DLLs and then had forgotten about it…

    I hadn’t fully realized the implications of the standard Delphi resource DLL approach to localization on which Sisulizer “piggybacks” – especially that it was an all-or-nothing deal: Our previous translation solution implemented a fallback-mechanism that would read any resources not found in the external resource DLL from the host binary instead. This does not appear to be the case with Sisulizer – at least not out of the box… thus, any resource that’s not contained in the localized resource DLL does not exist as far as the application is concerned.
    I also didn’t realize that the mere existence of a file with the same base name as the main binary and an extension matching the current system’s default locale (such as .EN or .DE) would automatically cause the VCL to load it…

    The machines that did not exhibit the error either still had the older, larger (=complete) resource DLLs on them, or no resource DLLs at all.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Does anyone know how can I replace this 2 symbol below from the string
I'm not entirely sure how I managed to jack this up. http://pretty-senshi.com If you
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.