[Openal] OpenAL with C++ WindowsForm application?

Ümit Uzun umituzun84 at gmail.com
Mon Sep 28 07:05:35 PDT 2009


Hi All,

I have an application which had created with MFC before and now I want to
upgrade it with new OpenAL 1.1 version and Windows Form. I have created new
C++ WindowsForm project in VS2008 and only add framework and set related
include and library configurations. But when I compile I always get

.\OpenAL\framework\Win32\Framework.cpp(200) : error C2664:
'CWaves::GetWaveALBufferFormat' : cannot convert parameter 2 from 'ALenum
(__cdecl *)(const ALchar *)' to 'PFNALGETENUMVALUE'
Address of a function yields __clrcall calling convention in /clr:pure and
/clr:safe; consider using __clrcall in target type

error which I can't find anything at internet about. I think it is related
about /clr because we have to use CommonLanguageRuntimeSupport beside with
MFC we don't need clr.

How can I solve my problem?
Do you think I can create OpenAL based application which uses framework like
before with Windows Form or not?

Regards.

Ümit Uzun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20090928/1f01a7fc/attachment.html


More information about the Openal mailing list