I've decided to not load all the images at start up. Instead I'll load the images as needed. I think that should get rid of the out of memory error.

I'm still trying to figure out how to use directx with my game. I'm wanting to do a client server type setup since the server is the one telling the clients what to do. I'm just haveing problems coding it so that it will work.