My project type in Visual Studio Premium 2013 is a C++ Library
These lines of code in twain.h generate this: Error: Function returning function is not allowed
TW_HANDLE TW_CALLINGSTYLE DSM_MemAllocate(TW_UINT32); typedef TW_HANDLE(TW_CALLINGSTYLE *DSM_MEMALLOCATE)(TW_UINT32 _size);
Can anyone tell me how to resolve this?