delphi - How to link a huge Res if RLink32 fails -
in project, during compilation, resource-linking process fails error: [dcc error] e2161 error: rlink32: out of memory!.
the project includes huge res file (about 400 mb). error not triggered if res file size doesn't exceed 250 mb. @ it's rcdata, keep data in external file know if there workaround issue.
you can use external resource linker in post-build event (project->options->build events). below example usage 'reshacker' (which able pretty command line gui can do).
"c:\...\reshacker.exe" -addskip "$(outputpath)", "$(outputpath)", "c:\...\icons.res",,, the example adds resources in icons.res not in executable , overwrites executable. have no idea if chokes big resource, can try using other alternatives if does.
Comments
Post a Comment