VC++ 2012: Fixed compile errors, added solution/project file
Merge pull request #19 from SteffenL/fixes-for-vc11

VC++ 2012: Fixed compile errors, added solution/project file
Check for out of memory on allocation
Fixed bugs with multiple devices loaded
Re-exported necessary functions