Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   .NET Game Programming (http://www.xtremevbtalk.com/-net-game-programming/)
-   -   Play Multiple Sounds (http://www.xtremevbtalk.com/-net-game-programming/326201-play-multiple-sounds.html)

ephestion 07-16-2013 12:00 PM

Play Multiple Sounds
 
I have had a few nightmares with API programming the past and want to avoid it as much as possible MCI string, I know can do the job but I want to keep clear of it. My other option was using something like a media player control with a playlist, but that won't be lean enough.

So since my App is a windows form app, I am thinking DirectX might have to be implemented for my game's sound only.

Two questions:
1. How do I get VB.Net 2010 to work with June 2010 DirectX SDK? I have Win7, VS 2010 and DX SDK Jine 2010. I can load up references through the broswe for DLL option. I can add Developer Tools\Manged DIrectX\ D3D.dll but I can't add the DX3D9 or 9.0c DLL's. I get an error asking me to make sure the DLL is a com object. I tried every DX9 dll in each of the managed DX folders, none load. I can add Microsoft.DirectX.3d but not Microsoft.DirectX.Sound.
2. Is DX my only realistic option for long living code that will hopefully work in future versions of WIndows? Also is it the only option I have in Windows Forms App?

2.


All times are GMT -6. The time now is 06:17 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.