Have resource files, containing something like:
RSLE_CALCDN BITMAP "rsle_CALCDN.BMP"
Given, the containing app is a lib, where exactly looks x# for the image?
TIA
Karl
RC - paths
RC - paths
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
RC - paths
Hi Karl,
It looks at the same folder where that particular .rc file is located. This is not in the control of X#, it's the resource compiler (rc.exe) that handles .rc compilation, I checked if it supports additionally looking at some general pool folder for external files, but unfortunately it seems it doesn't.
Chris
It looks at the same folder where that particular .rc file is located. This is not in the control of X#, it's the resource compiler (rc.exe) that handles .rc compilation, I checked if it supports additionally looking at some general pool folder for external files, but unfortunately it seems it doesn't.
Chris
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
RC - paths
Karl,
If you are compiling inside VS then the last commandline for the call to the native resource compiler is stored in your <LocalAppdata>Temp folder. I think it is called LastXSharpNativeResourceResponseFile.Rsp In the same way the last response file for the compiler is stored in that folder as LastXSharpResponseFile.rsp.
You will see that the include path that is specified under the preprocessor settings is also included in the call to the native resource compiler as well as the defines defined there.
IIRC the native resource compiler is called with a current directory equal to the project directory.
This is controlled by the XSharp.Build DLL for which you can find the source at:
https://github.com/X-Sharp/XSharpPublic ... harp.Build
Robert
If you are compiling inside VS then the last commandline for the call to the native resource compiler is stored in your <LocalAppdata>Temp folder. I think it is called LastXSharpNativeResourceResponseFile.Rsp In the same way the last response file for the compiler is stored in that folder as LastXSharpResponseFile.rsp.
You will see that the include path that is specified under the preprocessor settings is also included in the call to the native resource compiler as well as the defines defined there.
IIRC the native resource compiler is called with a current directory equal to the project directory.
This is controlled by the XSharp.Build DLL for which you can find the source at:
https://github.com/X-Sharp/XSharpPublic ... harp.Build
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu