equal
deleted
inserted
replaced
249 { |
249 { |
250 // The resource compiler puts out a padding byte (arbitrarily 0xab) |
250 // The resource compiler puts out a padding byte (arbitrarily 0xab) |
251 // to ensure the alignment of Unicode strings within each resource. |
251 // to ensure the alignment of Unicode strings within each resource. |
252 if(*currentPtr!=0xab) |
252 if(*currentPtr!=0xab) |
253 { |
253 { |
254 std::string errMsg= "Failed : Trying to access invalid registrationFile"; |
254 std::string errMsg= "Failed : Improper alignment of Unicode strings (0xab) within each resource."; |
255 throw CResourceFileException(errMsg); |
255 throw CResourceFileException(errMsg); |
256 } |
256 } |
257 ++currentPtr; |
257 ++currentPtr; |
258 } |
258 } |
259 } |
259 } |