Hi Paul

Well done . Very nice work, I did something similar to embed images into my game engine (the engine logo) but I'm sure people will find this useful (I certainly will).

You could make the system a bit more dynamic by having each resource unit register it's resource with a central manager, that way the GetResourcebyName would just do a lookup in an array or string list rather than hard coding the resource names (if you have allot of resources that procedure would get very big).

Good work