🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7623

Re: Error message strings

#7623
From: Bob Gonder
Date: Mon, 17 Jan 2005 18:50
30 lines
2136 bytes
Remy Lebeau (TeamB) wrote:

>"nicolasr"  wrote in message
>
>> does anyone know whether it's possible to ask
>> the system for a text message given an error code
>> from the MMSYSERR_ and MMIOERR_
>> categories?
>
>Those errors are not included in the system's message table with other error
>messages.
>
>> Can I use LoadLibrary/FormatMessage with some
>> DLL that contains resource strings for these errors?
>
>Only if the DLL has a message table in its resources that contains all of
>the text messages.  Otherwise no.  In this case, the multimedia system is
>implemented in winmm.dll, which does not have such a message table.

It looks like appropriate messages are in MMSYSTEM.DLL (which oddly
enough matches MMSYSTEM.H which contains the mentioned #defines).

I also see several functions on MSDN, depending on what you are doing
in the realm of MM....

mciGetErrorString()
midiInGetErrorText()
midiOutGetErrorText()
waveInGetErrorText()
waveOutGetErrorText()
Technical Details
Message-ID: <mj1ou09ku7cuag2gdun4vo70rv4gbeuccm@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newshosting.com!nx01.iad01.newshosting.com!38.144.126.100.MISMATCH!feed5.newsreader.com!newsreader.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41ebea4b@newsgroups.borland.com> <41ebfe55@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7e1caa40bd06e6f4
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Error message strings
Date: Mon, 17 Jan 2005 10:50:25 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <mj1ou09ku7cuag2gdun4vo70rv4gbeuccm@4ax.com>
References: <41ebea4b@newsgroups.borland.com> <41ebfe55@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.144.194
X-Trace: newsgroups.borland.com 1105987823 67.77.144.194 (17 Jan 2005 10:50:23 -0800)
Lines: 33
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newshosting.com!nx01.iad01.newshosting.com!38.144.126.100.MISMATCH!feed5.newsreader.com!newsreader.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail