Hmm, I think I had a similar error -- I think I manually compiled it to a .res file and included that instead. It could be that you need to configure the resource compiler.
Yes i converted first with brcc32 into a res file and included it in the exe.
But when i try to open it with: aResStream := TResourceStream.Create(HInstance, 'PORTESDATA', 'RT_RCDATA');
i get a runtime error: Resource 'PORTESDATA' not found.
The rc file that i created has the following line: PORTESDATA RCDATA "LeonPortes.coe"
This happens in Win64. I haven't yet tested in Android...
Any idea?
EDIT: The resource file is added in the executable
EDIT2: I am compiling in Win64 and run the program in a Windows7 64bit. No idea if this can be a problem...
Thanks in advance
Kostas