Article View: borland.public.cppbuilder.nativeapi
Article #12580(WINAPI) WaveIn* Function AV
From: Eric
Date: Thu, 27 Nov 2003 22:09
Date: Thu, 27 Nov 2003 22:09
12 lines
1321 bytes
1321 bytes
Hello All, I am getting an access violation with this function in one of
my programs, how ever if I create a new project it works. does it have
problems with being put inside the constructor of a TFrame?
void getWaveInDevices(void)
{ //Test Code
// UINT Devices = waveInGetNumDevs();
WAVEINCAPS *p_wc;
waveInGetDevCaps( 1,p_wc, sizeof(p_wc) );
Device1NameLabel->Caption = AnsiString( p_wc->szPname );
}
Technical Details
Message-ID:
<3fc71fc0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,e2950f875a4ab891 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-28 02:39:02 PST Date: Thu, 27 Nov 2003 14:09:36 -0800 From: Eric <Eric@Dev_Null.o> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: (WINAPI) WaveIn* Function AV Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 216.244.6.95 Message-ID: <3fc71fc0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1070014400 216.244.6.95 (28 Nov 2003 02:13:20 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail