Try:
$webamp = New COM("WebAmp.WebAmpCtl") or die ("Could not create COM object");
$filename = $webamp->sFilename;
Sometimes it works better...
Otherwise, what is the value of $filename that you are expecting?
Alain
On Tue, Aug 28, 2001 at 12:24:48AM +0100, Haemish Graham wrote:
> Hi.
>
> I wrot
Hi.
I wrote a COM object today that returns the filename of the current winamp
track running on my machine but do not seem to be able to get PHP to return
the filename property. I tested my COM object using a stand alone VB script
and a ColdFusion script with IIS, and it all worked. However ru