can i use this instruction in console application. i am getting leave code -5. please help

Code:
StringLoader::LoadLC