Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Error compiling AkFileHelpers.h in ANSI

+1 vote
In Wwise 2016.2.3.6077\SDK\samples\SoundEngine\Win32\AkFileHelpers.h
"fileAttributes = GetFileAttributes( in_pszBasePath );" prevents the compilation of this part of the sample in ANSI.

Replacing it by "fileAttributes = GetFileAttributesW( in_pszBasePath );" fixes the problem.

I would fix it because the documentation suggests to use "CAkFilePackageLowLevelIOBlocking g_lowLevelIO;" as a starter and this requires integrating sample/SoundEngine into a user code, which in a lot of cases (most?) will use ANSI instead of wide characters.

Thanks.
asked Apr 26, 2017 in Feature Requests by Cedric P. (110 points)

Please sign-in or register to answer this question.

...