Can you post a small code with the error so that it can be compiled and generate the error message?
Your two lines of code won't compile.