How to specify texture matrix on multiple channels??

Ok i need to specify a texture matrix on multiple channels and i am using CVA’s
so i wrote it like :

for (channel = 0;channel < maxChannels;channel++){
glClientActiveTextureARB(GL_TEXTURE0_ARB+channel);
glMatrixMode(GL_TEXTURE);
glLoadMatrixf((float*)&pPlugin->currentMatrix[channel]);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glTexCoordPointer(2,GL_FLOAT,SIZE_OF_NV_VERTEX,ptr+offset);
offset += 8;
}

i thought that glClientActiveTextureARB should help to pass the matrix in the right channel but it doesn’t work… All channels are initialised with the last matrix so…
I’ve tried glMatrixMode(GL_TEXTURE0_ARB+channel); )) but i am too lazy!! ))

any help?
thx

Use glClientActiveTextureARB when you need to set a particular texture stage’s texture coordinate array pointer. Use glActiveTextureARB when selecting a particular texture matrix to be active.