Groups > Borland > Borland Delphi multimedia > Another problem installing TAudioIO




Another problem installing TAudioIO

Another problem installing TAudioIO
6 Apr 2008 16:01:11 -0700
Hello folks,

I have been writing an app. for audio type geiger counters.
My hard drive recently crashed and I am going through the put things back
tasks.
I am having trouble re-installing the TAudioIO components.
I am using Delphi 7 on XP sp2.

They went in before my hard drive crash, and I am having trouble
getting them to go back in again. I put a few components in before I attempted
to load TAudioIO, but have since removed everything from the components list
container. I may need to do a re-installination of Delphi 7. I am not sure yet.
I have since deleted and re-installed Delphi7, no change.

This is what happens,

I downloaded the TAudioIO.zip file, the 1998 version, not the 1997 one.

I unzipped it and double clicked the AudioIO.pas file.

I then click on Component, Install Component, then OK.


In AudioIO while attempting to install, the following error was generated upon
compiling the dclusr or whatever package I added it into.

Incompatable types 'Integer and Cardinal. I seem to remember that if I just
changed the 
word Integer to Cardinal, the error went away, but what about the other silly
error I am having at the moment.

from
      Property WaveDevice : Integer Read FWaveDevice Write FWaveDevice Default
WAVE_MAPPER;
to
      Property WaveDevice : Cardinal Read FWaveDevice Write FWaveDevice Default
WAVE_MAPPER;


OK that error went away, but I am stil stuck with this nasty one at the moment.

[Warning]AudioIO.pad(185): Property declaration references ancestor private
'TAudioIO.FPaused'
[Wanring]Unit 'UAFDefs' implicitly imported into package 'dclusr'

Error is on the FPaused.

  published
    { Published declarations }
    Property Paused : Boolean Read FPaused Write SetPaused Default FALSE;
    Property OnFillBuffer : TBufferEvent Read FOnFillBuffer Write
FOnFillBuffer;
  End;

I noticed that the samples came with a file delphimm.dll dated 1997, Delphi 7
has the same file in 

the C:\Program Files\Delphi7\Bin directory, dated 2002, Swapping them doesn't
apear to make any difference.


When attempting to build anything made previously using TAudioIO, now I get
these errors,

**************************
The AudioOut1FillBuffer method referenced by AudioOut1.OnFillBuffer has an
incompatible paramater list. Remove the reference?
**************************
**************************
The AudioIn1FillBuffer method referenced by AudioIn1.OnFillBuffer has an
incompatible paramater list. Remove the reference?
**************************

I copied the entire backup on a CD to \Program Files\Delphi7, that made no
difference, I still get the messages just above when trying to build. All the
componenets I prviously had, turned up on the palette.

Things like this really perplex me, I had them going before, have installed
Delphi a dozen times before, and then something you have never seen before, pops
up after not ever having being seen before.

?????

What have I done?

The TAudioIO components did go in previously, it was a bit of  job, but I've
never seen this error before.

All help much appreciated.

Post Reply
about | contact