Texture ID's

I am haveing a problem. I am using MFC so I call wglcreatecontext before all rendering or openGL stuff. Since I do this, openGL does not seem to save the textureID’s assigned during the last context(I think this is the problem but let me know). So glGenTextures(1,&ID) is always returning 1, it doesn’t know there were any previous ID’s assigned. So basically when I load a new texture, it forgets the last one. THis code can load multiple textures in a regular openGL program where I have the same context the whole time, so I think this is it. But how do I solve this problem?

See http://www.opengl.org/discussion_boards/ubb/Forum2/HTML/011680.html

wglShareLists I see thanks a lot