Unable to call tesseract api in vc++ 2010 program

hi,
i'm working on an OCR project. After a long search i ended up in using tesseract ocr library and it works great. But i'm not able to call the tesseract api from the win32 console application in vc++2010.
my code isÂ
system("tesseract image.tif text");
no error is given upon building. But no result is got as well.
Pls help me out with your valuable suggestions.
Thank you
