Federico,
HJY
- I use my own code in another computer, It DO work. So it is true as you said "your problem could be related to something else that is not in the code you provided".
-
(a)
I reinstalled VS 2010 in my computer, recompiled the project, it still DID NOT work.
(b)
I installed VS 2012 in my computer, just executed the binary produced in (a), It DID work. -
I still do not understand what is going wrong in my computer.
HJY