I am not sure why you are having a problem and I am fairly certain that there is no limit of 12224 bytes. I have a structure initialized by including a header file that is over 512KB and it compiles just fine. In my case it is a structure with three members and there are almost 4700 of them and one is a text string of varying length. FWIW, it is a table of windows error codes and message strings. As I mentioned I put them all in a file that is included by the code. The code that does that looks like this :
werrmsg Messages[] =
{
#include "WindowsErrorList.h"
};
My point is this is a statically defined structure with a lot of members and over 512KB of data. If you take that approach with your data I think you can make it work. I wrapped mine in a local namespace and I recommend that for your data but it is not required.
You could do something like this :
namespace {
const UCHAR BufferData[] =
{
#include "BufferData.h"
};
}
and the file with the data could look like this :
0x48
, 0x33
, 0x67