🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Error message strings

#7626
From: nicolasr
Date: Mon, 17 Jan 2005 21:58
34 lines
2130 bytes
>> mciGetErrorString()
>> midiInGetErrorText()
>> midiOutGetErrorText()
>> waveInGetErrorText()
>> waveOutGetErrorText()
>
> Those functions are specialized for specific operations.  They are not
> generalized for use with the entire Multimedia API.
>
>
> Gambit
>
>

thanks for your replies.
I need strings for MMIO error codes returned from functions like
mmioOpen() etc. so the above mentioned specialized functions don't
help in this case.
I tried to check whether the strings are available in mmsystem.dll.
The problem is that LoadLibrary() fails to open the dll ????
It does not simply return NULL but shows a message with something
like this (roughly translated):

"The application or DLL c:\windows\system32\mmsystem.dll is not a
valid Windows file. Check this with your installation disk"

A third party resource editor/viewer fails to open it too.
tdump.exe works though and tells me there is a string table inside.

(WinXP SP2)

Any ideas what could be the cause?

Nick 
Technical Details
Message-ID: <41ec3525$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41ebea4b@newsgroups.borland.com> <41ebfe55@newsgroups.borland.com> <mj1ou09ku7cuag2gdun4vo70rv4gbeuccm@4ax.com> <41ec2fd4$1@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: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41ebea4b@newsgroups.borland.com> <41ebfe55@newsgroups.borland.com> <mj1ou09ku7cuag2gdun4vo70rv4gbeuccm@4ax.com> <41ec2fd4$1@newsgroups.borland.com>
Subject: Re: Error message strings
Date: Mon, 17 Jan 2005 22:58:57 +0100
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 80.133.181.45
Message-ID: <41ec3525$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105999141 80.133.181.45 (17 Jan 2005 13:59:01 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail