Thanks for the input.
A bit more info based on the points raised:
The installer wouldn't run in Windows 7 - it just said it wasn't compatible with the version of Windows installed. No option to ignore and continue - just quit.
It was created with the version of InstallShield which came with...
I was recently asked to install an old app I wrote in Delphi 5 a few years ago, so I dug out my install CD.
Unfortunately, it wouldn't install on either of the two machines they had - one running Vista and the other Windows 7.
The Vista machine ran the installer OK and installed the program...
@Glenn9999
Many thanks for the input.
To be honest, I've been struggling to create a basic example program showing the problem using TMediaPlayer because I've not used it before in any great depth.
It doesn't have some of the events I'm used to. But I'm getting there... :)
Also, I neglected...
Quote: You need to have a separate thread that handles all of the looping and playing of .wav files. Without one, your timers won't fire, and you can't do any sort of interruption."
Well the clock display is updating with the correct time, so the Timer is definitely firing.
Or do you mean...
Thanks for the input.
First of all, I'm using an audio suite component to play the wav - not media player as I wanted a visual oscilloscope-type display during playback of the wav.
The problem appears to be that if you use the following type of program (pseudo-code):
Note: Listbox 1 contains...
I've written quite a few Delphi apps with no real problems, but my latest project has me stumped. I think it's because of too many years using linear programming languages.
It's quite complicated, but I'll try and be as brief as possible...
Essentially, in my project, I create a list of WAV...
I've already written a working Delphi karaoke app using Winamp and the it's CDG plug-in but I was hoping it could be done without using Winamp at all.
TB
I've searched the web as well as this site and considering the popularity of karaoke, I'm surprised that there's no CDG viewer component available yet for Delphi.
I have a number of MP3s with associated .CDG files and although I can call Winamp to hear and view them I'd like to be able to write...
Thanks for that - I'll check it out.
3DS files are however of minor importance compared to .X files - they are the important files I need to view.
Unfortunately, if I can't view them, the program isn't really worth writing so I don't want to waste too much time on 3DS files just in case.
TB
As a hobby, I write DirectX games (or at least try to) which use .X and .3DS models like cars and planes - not in Delphi though.
I want to write a small Delphi 5 app which will quickly view the .X models I have on hard disk.
I've looked at a few of the Delphi component suites (like Delphix)...
I have the DivX and XVid codecs installed and all my AVI files play back perfectly in Windows Media Player, Winamp etc but when I use the TMediaPlayer component in Delphi 5, they all refuse to play correctly.
When you try, there is no sound and the picture is perfect, but it looks like you have...
...it be the 'simplest most direct answer' to my question' if it didn't actually answer the question. I'm sorry, but I don't care what question you *think* I asked.
Had I asked 'how do I launch and then close the Calculator program from within my Delphi application?' then I wouldn't have a leg...
...problem ????????"
There's no problem other than the fact that I asked a question, you answered a different question with code that doesn't work *for what I said I was trying to do* and you are now saying that I have the problem!
"you asked how to get the handle and close the app"
No I...
OK - I concede an element of stupidity! Lol
I made the error of reading what it said the program did at the top of the page - "run an external application and wait until it terminates".
I have to admit that I didn't read the code at the bottom of the page carefully as by the time I'd read the...
The link shows code how to terminate the process that was created from the delphi app. I think that is the answer to your question..."
No, unless I'm being incredibly stupid - which I know is quite possible - that link shows you how to launch a program then wait until the launched program is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.