First time here? Check out the FAQ!
answered 2013-02-23 14:24:16 -0600
Problem solved.
I re-installed visual studio 2010 without 64 bit compiler, it was a conflict between 32 and 64 bit support compiler, and the code working as charm :)
Thanks all for help.