What Delphi uses clauses are needed to access resource datatypes, like 'RT_RCDATA'?
Asked
Active
Viewed 2,477 times
2 Answers
4
It depends on your needs.
- For VCL apps, you'd use
Windows
orWinapi.Windows
if you are using namespace prefixes. - For FMX cross-platform apps you'd use
System.Types
.

David Heffernan
- 601,492
- 42
- 1,072
- 1,490
-
U+002B, U+0031, a much more comprehensive answer than mine. – Andreas Rejbrand Sep 11 '15 at 18:42
-
@AndreasRejbrand U+0054 U+0068 U+0078 – David Heffernan Sep 11 '15 at 18:47
2
RT_RCDATA
and other RT_...
values are defined in the Windows
unit.

Remy Lebeau
- 555,201
- 31
- 458
- 770

Andreas Rejbrand
- 105,602
- 8
- 282
- 384
-
@JosephPoirier: Yes, but it seems like the rest of them only reside in `Windows`. – Andreas Rejbrand Sep 11 '15 at 18:17
-
Found it in System.Types, but all the other ones are in Windows unit as you defined... using Delphi XE5 thx. – Joseph Poirier Sep 11 '15 at 18:24
-
I created a startup folder in my project and just added all my resource files... testing the access now – Joseph Poirier Sep 11 '15 at 18:28