I've link all the necessary directx lib and include the .h files and still i got those error :
1>main.obj : error LNK2001: unresolved external symbol _DirectDrawCreate@12
1>Sound.obj : error LNK2001: unresolved external symbol __imp__mmioRead@12
1>Sound.obj : error LNK2001: unresolved external symbol __imp__mmioOpenA@12
1>Sound.obj : error LNK2001: unresolved external symbol __imp__mmioClose@8
1>Sound.obj : error LNK2001: unresolved external symbol __imp__mmioAdvance@12
1>Sound.obj : error LNK2001: unresolved external symbol __imp__mmioAscend@12
1>Sound.obj : error LNK2001: unresolved external symbol __imp__mmioSetInfo@12
1>Sound.obj : error LNK2001: unresolved external symbol __imp__mmioDescend@16
1>Sound.obj : error LNK2001: unresolved external symbol __imp__mmioGetInfo@12
those error are because the directx, i've tried all the solutions and it not help i'm using visual studio 2010 on xp . i hope someone know how to fix this.
thanks shir