oh! i didn't notice that this is in the latest beta already.
i did use a dll so far. now i tried to use setmatrix() in lite-c but i didn't get it working. no crash happened but the shadows were gone when i substituted the dll function.
do the LPD3DXEFFECT functions work correctly for you?