IDirect3DSurface9 *var = NULL;
IDirect3DSurface9 *** ret;
I want to assign the value dereferenced by var into the variable pointed by ret.
I did the foll:
(*(*(ret[0]))) = var;
I feel this is correct C++ syntax. But why is that I am getting compilation error as follows:
error C2679: binary '=' : no operator found which takes right hand operand of type "IDirect3DSurface9 *" (or these is no acceptable conversion).
What is the correct syntax?