it just so happens i reverted back to 2005 , vc 2008 acts very strangely on calling conventions
it bombs badly where as in 2003 and 2005 it would work..
for some wierd reason , anything made previous to 2008 will probably not compile to exe as standard without a major walk through of the code.
in short use either visual studio 2003 or 2005 not 2008. 2008 may infact be the newest but it is by far not the best.
my version's of 2003 and 2005 also 2008 are paid for but i am summising that you do not have a lot of money so
here is a link for download of visual studio 2005 , use this link if you wish , i am not implying that you use it though ,i am simply stateing it for educational purposes.
Microsoft Visual Studio 2005 Professional
http://www.WarezGen.com