Threads Posted November 25, 2003 Posted November 25, 2003 Hello, Is there just a simple function like sndPlaySound in the .NET Framework that I am missing? I don't want to use DirectSound just to play a sound in a Windows Form application. If there isn't one, then I guess I'll just use sndPlaySound still. Seems a bit odd that there wouldn't be a .NET equivalent though. Thanks Quote mov ax, 13h int 10h
*Experts* Volte Posted November 25, 2003 *Experts* Posted November 25, 2003 There isn't one in .NET due to the platform-specific constraints, so you need API. However, don't use sndPlaySound. Use [api]PlaySound[/api] instead. sndPlaySound is deprecated. Quote
Threads Posted November 25, 2003 Author Posted November 25, 2003 Thanks, Volte Quote mov ax, 13h int 10h
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.