thanks guys, i'm collecting these things coz i'm planning to make a website for this, to act as a reference or something, :)
okey here goes my example,
Always remember to attach the '&' on a variable when passing it on a function that asks for pointer, do not typecast it.
example,
function(LPCSTR* variable);
should be...
function(&variable);
and not...
function((LPCSTR)variable);