LNK1106 with big binary resource
Posted
by E Dominique
on Stack Overflow
See other posts from Stack Overflow
or by E Dominique
Published on 2009-11-16T14:39:32Z
Indexed on
2010/03/30
20:03 UTC
Read the original article
Hit count: 406
I have a rather huge .dat-file (896MB) included as a BIN resource in my project. Now I get a LNK1106 link error ("fatal error LNK1106: invalid file or disk full: cannot seek to 0x382A3920".) I use Visual Studio 2005 under Windows XP, and have tried on a 4GB RAM machine with high Virtual Memory settings and lots of disk space. I have tried a number of different optimization flags, but to no avail.
Does anyone have a clue?
EDIT: I have narrowed it down to a specific size of the compiled resource. If the .res file is 544078588 bytes (about 518.9MB) or larger, the error occurs. If it is smaller it works just fine. Still no solution, though...
© Stack Overflow or respective owner