Original Post
Hey all, This is another general/DirectX question, heres what i want to do in semi-pseudocode:
IDirect3DTexture9* tex = 0;
LPCWSTR texFilename = CA2W(mtrls.pTextureFilename);
LPCWSTR path = TEXT("MyFolder\\")
LPCWSTR finalPath = 0;
finalPath = path + TexFilename;
D3DXCreateTextureFromFile(
Device,
finalPath,
&tex);
I basically want to concatenate two LPCWSTR's so i can get to the texture resource in MyFolder but obviously i cant do this because they are two pointers, whats the best way to achieve this, im using a unicode build also. Thanks, Chett