Commit d43008a1 authored by Aymeric Moizard's avatar Aymeric Moizard
Browse files

update to use UNICODE API for LoadLibrary

parent 4592edcb
......@@ -19,12 +19,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifdef __DIRECTSOUND_ENABLED__
#define UNICODE
#include "mediastreamer2/mssndcard.h"
#include "mediastreamer2/msfilter.h"
#include "mediastreamer2/msticker.h"
#define UNICODE
#include <mmsystem.h>
#ifdef _MSC_VER
#include <mmreg.h>
......@@ -1045,7 +1045,7 @@ static void _winsnddscard_detect(MSSndCardManager *m){
if (ms_lib_instance==NULL)
{
ms_lib_instance = LoadLibrary("dsound.dll");
ms_lib_instance = LoadLibrary(L"dsound.dll");
if( ms_lib_instance == NULL )
{
/* error */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment