🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: multimedia timer

#6974
From: Dominique MONTIN
Date: Wed, 30 Mar 2005 10:11
47 lines
2522 bytes
Thanks a lot.

Your application (project1.bpr that use MMTimer.cpp) seems to be exactly
what I want. I have downloaded it but i can't run it because
the compiler error "unable to find  Webdsnap.bpi" occurs.
I have not found this file installed on my hard disk with BCB6, nor in the
files you provide.
Where can i find it or is it possible not to use it ?
Thanks

Merci beaucoup. Il est toujours agr�able de rencontrer des francophones sur
les newsgroup !!!

Dominique




"Michel Leunen" <nospam@noreply.please> a �crit dans le message de
news:424982c1$1@newsgroups.borland.com...
> Dominique MONTIN wrote:
>
> > I wish to use a timer that create periodic events at the frequency up to
1
> > kHz. I don't know if it is possible. It seems that the timer available
among
> > the component, with BCB, can just reach 18.2 Hz.
> > But I have seen that the resolution of the multimedia timer can reach 1
ms.
> > That let me some hope.
> > Does anybody has a simple example of using the multimedia timer ?
>
> Yes. Either use QueryPerformanceFrequency() and
> QueryPerformanceCounter() (see
> http://www.leunen.com/cbuilder/perfcount.html for a sample) or use a
> multimedia counter. I have a component that uses it. It comes with the
> source so you can see how it works (TMMTimer
> http://www.leunen.com/cbuilder/comps.html)
>
> Michel
> -- 
> ----------------------------------------
> Michel Leunen
> mailto: see my homepage.
> C++Builder, BCC5.5.1 Web site:
> http://www.leunen.com/
> ----------------------------------------
Technical Details
Message-ID: <424a7b5a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.moat.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <424964e6$1@newsgroups.borland.com> <424982c1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,bc8003398f0f44ab
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
From: "Dominique MONTIN" <dominique86.jacob@laposte.fr>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <424964e6$1@newsgroups.borland.com> <424982c1$1@newsgroups.borland.com>
Subject: Re: multimedia timer
Date: Wed, 30 Mar 2005 12:11:36 +0200
Lines: 49
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 195.220.220.199
Message-ID: <424a7b5a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112177498 195.220.220.199 (30 Mar 2005 02:11:38 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news.moat.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail