Bob: You'd do yourself a favor by heading to the Microsoft site and looking for the documentation. Every one of the pages for the wavein & waveout functions tells you the library that you must use, the calling parameters, the returned values, etc. I think you'll have to have that to get started. Start at http://msdn.microsoft.com/en-us/library/ms713771(VS.85).aspx and then drill down to the parts you want. Failing that, Google is your friend. There's plenty of C, C++ and C# code out there using the Win32 API calls for multimedia functions. Chuck
To: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Fri, 16 May 2008 11:52:12 -0700Subject: RE: [soft_radio] Sound Card Interface? I HACKED my way through o get it to compile the wave commands. I can find mmsystem.h but the linker crashes. It cannot find the library with the wave ruotines. Is there supposed to be a "mmsystem.lib" file? If not, where is the wave library? Bob Macklin Seattle, Wa. Dave Wade <[EMAIL PROTECTED]> wrote: A couple of quick comments. Last time I looked all the old docs were still available in MSDN and MSDN on-line in the Archive. C# is the “native” language of “.net” Microsoft invented it because it fell out with sun over Java. I think its more like java rather than c++ -----Original Message-----From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bob MacklinSent: 16 May 2008 14:27To: [EMAIL PROTECTED]: Re: [soft_radio] Sound Card Interface? In about 1989 I started using Microsoftes C Ver2 and I had every version up tot he first C++ Ver 7. I still have the disk set for C++ Ver 7. At one time I had the SDK for it also. That was in 1995. I have learned to live with MFC but I don't have a clue what C# is. I gave up on keeping up with Microsoft. That's why I am still running W98! I spent a week interviewing at Microsoft in November 2000. After being jerked around for a week I told them I didn not need to work in the pressure cooker! The wave fuctioniond are defined in mmsystem.h. Now I will try and find the infomation on using them/ Bob Macklin Seattle, Wa.Jim Hutchinson <[EMAIL PROTECTED]> wrote: Bob Mac klin wrote:> Jim> > Thanks for yoyr comments. I have 2 of Charles Petzold's book but not > the one you reference. Did your book have a CD with the the samples?Yes it had all the examples plus a compiled exe ...> > I did find something about the wave/in & wave/out functions in the > help files. They are Win32 SDK functions. I don't know if I have them > installed on this machine. I do also hve VC++ Ver3. I can look in that > one.The wavexx functions are the ones to use and he covers most of them in his book ... the ones not covered I got off the web along with some other (mixer) examples ... 24 bit sound cards was not used yet and I have not found good information in using the 24 bit cards yet ... maybe a more up to date Multimedia SDK would cover them ...> > It looks to me that Dsound only allows you to write to the sound card. > But there may be a hidden function (ReadBuffer) that works with it. > But it is not defined in the Dsound.h file.> > Did your VC++ Ver6 include the Win32 SDK?No but if you have an older (1998-2000) copy of MSDN it installs as help for VC++6 and covers the Win32 API ... when I bought the book, it included a 2 year free MSDN subscription ... in the NEW book I seen a month ago, I looked and the MSDN was not included but it is available on the web ... the new (if it exists for download) MSDN would be infected with MFC and C# and in my opinion be uselessJim KI6MZ> > Bob Macklin> Seattle, Wa.>> */Jim Hutchinson <[EMAIL PROTECTED]>/* wrote:>>>> Bob Macklin wrote:> > I have been trying to learn how the sound card interface works.> >> > I use VC++ Ver 5 because it was the last version I bought brfore I> > retired. And I am comfortable with it.> >> > I have found the DSOUND files but not much infomation on how it> works.> >> > Is it possible to get any help from this group about how you> read and> > write to the sound card?> >> > I am a skilled programmer. At least I was when I retired 10> years ago.> >> > Bob Macklin> > K5MYJ> > Seattle, Wa.> >> Hi Bob ... I use VC++ Ver 6 and program Win32 (no MFC) ... the book> "Programming Windows Fifth Edition" by Charles Petzold taught me to> program the sound card. It is at a more basic level than DSOUND and I> think more functional, using the wavein waveout ect and the Win32 API> ... the book came out about the time VC++5 and VC++6 was in use> and it> uses VC++6 ... It is still available (New) as I was in a Borders> bookstore about one month ago and a new copy was on the shelves> ... so> it can be ordered ... My copy is very used and tattered and full> of hand> written notes and you would have to pry it from my cold dead> fingers to> get it (along with VC++6) ...the Microsoft Multimedia SDK would be> nice also ... I have one that came with Vc++2 and is useful but> not up> to date ...> Jim KI6MZ> >> >> > ------------------------------------> >> > Yahoo! Groups Links> >> >> >> >> >> >> ;>>
