Article View: borland.public.cppbuilder.nativeapi
Article #3601Re: Threads, PlaySound and waveOutGetNumDevs
From: Remy Lebeau (TeamB)
Date: Fri, 19 May 2006 18:45
Date: Fri, 19 May 2006 18:45
21 lines
1880 bytes
1880 bytes
"Mike Collins" <its@TheBottomOfThePost.com> wrote in message news:446e0a32$1@newsgroups.borland.com... > Thanks for the reply remy - I don't really know the inner workings of the > try...catch / __finally systems. The GetTokenData simply communicates > with a third party hardware token, namely rainbox iKeys. It does very little > but i've included the code below just for reference. Obviously it's a bit more > complicated once i've detected the hardware and read in it's data but the > code below is a stripped down version that i'm testing and it still > generates the same problems... Then the only thing I can tell you to do is to rip out all of the code from the thread and then start placing it back one line at a time, recompiling and testing each time, until the problem starts again. Then you will know which line is responsible for causing the crash. Gambit
Technical Details
Message-ID:
<446e1361@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<446dbb8d$1@newsgroups.borland.com> <446dfc10$1@newsgroups.borland.com> <446e0a32$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9ea40ee0ccd38b3b X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <446dbb8d$1@newsgroups.borland.com> <446dfc10$1@newsgroups.borland.com> <446e0a32$1@newsgroups.borland.com> Subject: Re: Threads, PlaySound and waveOutGetNumDevs Date: Fri, 19 May 2006 11:45:47 -0700 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <446e1361@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1148064609 68.69.17.41 (19 May 2006 11:50:09 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail