Compiler Error C2340

'argument' : illegal allocate specifier

Your code includes a __declspec(allocate("<argument>")) statement with an invalid argument. The valid arguments are "_CODE", "_DATA" and "_FAR_DATA".