An unhandled exception occurred at $00000000004270E6:EResNotFound: Resource "FOO" not found
Does your example really compile for you???????? (you could try 'RT_RCDATA')
Yes, it is compilable.
Quote from: Abelisto on February 28, 2018, 06:41:23 pmYes, it is compilable.How was that compilable?In what unit is RT_RCDATA defined for you??Is RT_RCDATA defined in Classes in an old version?