Limit to the size of a .res file?
Posted: Fri Feb 16, 2007 12:50 am
Ugly problem:
We have a big .rc file. This file is edited with Pelles IDE and then compiled into a .res file with xrc.exe (or porc.exe). The resulting .res file is just over 1 megabyte in size.
When ilink32.exe (Borland 5.5.1) tries to link this file into the .exe, it just fails with the not very useful message
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Access violation. Link terminated.
If I remove any resource from the .rc file, then it works again.
Has anyone experienced something like this?
Is this a Windows limit as to the file size of a .res file to be embedded into an executable?
I could try to split it into 2 or more .rc files, but first I'd like to know if anyone has worked with multiple .rc files (do you create a single .res file, or several .res to be linked into the exe?)
Is this a limitation of Borland's ilink32.exe?
All help, comments and ideas are greatly appreciated.
Luis Krause
We have a big .rc file. This file is edited with Pelles IDE and then compiled into a .res file with xrc.exe (or porc.exe). The resulting .res file is just over 1 megabyte in size.
When ilink32.exe (Borland 5.5.1) tries to link this file into the .exe, it just fails with the not very useful message
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Access violation. Link terminated.
If I remove any resource from the .rc file, then it works again.
Has anyone experienced something like this?
Is this a Windows limit as to the file size of a .res file to be embedded into an executable?
I could try to split it into 2 or more .rc files, but first I'd like to know if anyone has worked with multiple .rc files (do you create a single .res file, or several .res to be linked into the exe?)
Is this a limitation of Borland's ilink32.exe?
All help, comments and ideas are greatly appreciated.
Luis Krause