Hi all,
I have an 'Error creating Resource (RES) file'. I have attached the rc file.
Does anyone see something wrong?
How do you go about finding the error?
Regards,
Marc
Hello,
I have now removed all references to images.
My resource file:
#include "resource.h"
#define FIREFLY_RESOURCE 1
// Manifest info for WinXP theme support
1 24 "CODEGEN_GGSCH.Exe.Manifest"
Same error :'( :'(
At least you could say which error are you getting. We can't reproduce it without having "CODEGEN_GGSCH.Exe.Manifest".
This is what I get, see attachment:
The manifest:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" >
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="vkGGsch"
type="win32" />
<description></description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*" />
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>true</dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>
It compiles fine in my computer, using the resource compiler 6.1.
Try this:
Close/exit FF
Delete all CODEGEN*.* in the Release folder
Restart FF
Compile
Does that fix it? Sometimes this works for me in the rare case that I get resource compile problems.
Update:
Even creating a new progect and compiling it gives me the same error.
I finally set the RC INclude file path to Jose's includes and now it worked.
Strange.
It's not strange. The resource compiler needs to access resource.h and other related .h includes. If it is not in the path, it wouln't find it and fail.