update project/solution to vs 2013
use stdcall convention