Ported to C++: Database_Resources