Is it possible to send emails using Delphi 7.
I'd like to be able to specify the sending email address and the receiving email address.
Any ideas or docs on this?
Recently my WinXP PC no longer boots.
It was shut down properly the night before with no problems and nothing was changed on the machine.
I get no display at all and no beeps during boot up. There is power to each of the components.
I have confirmed that the video card and RAM is working.
Any...
Hi Hilfy,
Thanks for your update.
I need some further help with this.
I'm trying to create a Timer object in a Thread.
Here's part of the code:
type
ttimernew = class(TTimer)
private
public
constructor Create (AOwner:TComponent); override;
procedure newevent (Sender:TObject)...
Hi Nordlund,
I'm using the thread to do a very large filecopy/cut operation (a few GB) using filestreams.
I wanted to get access to the filestream.pos property in the thread from the main application to determine its progress.
Thanks
Hi Nordlund,
Thanks again for your feedback.
I tried the above code but I get an exception when I create the thread by calling from the main application:
Tmythread.Create(false);
I get the error:
'Thread error: The handle is invalid (6).'
Any ideas what could be wrong?
Thanks
Hi Nordlund,
Thanks for your feedback.
I guess this allows you to access variables that exist in the mainform, from the new thread.
How would you access the variables in the thread from the main application though?
Thanks
I am using Delphi 7 and would like to know if it is possible to read variables that exist in the Thread that is instantiated, from the main code. If so, how should I declare these variables in the threaded code.
N.B my main code is in unit1.pas, and the thread code in unit2.pas for example.
Thanks.
I have created a thread to execute in my application but I'm not sure where you would Declare the OnTerminate event handler.
Any ideas?
N.B my thread code is contained in unit2.pas and my main code is in unit1.pas for example.
i don't beleive the mpg is a divx or xvid encoded.
I tested my program using a simple .avi and it works with that.
There isn't really much to my code yet as I am setting the properties of the objects on my form at design time corresponding to filename etc...
Does anyone know how to play MPEG files using Delphi 7.
I've tried using the TMediaPlayer object with the Animate object but it will just show a black screen in the display area.
Any ideas?
Thanks
I tried:
procedure TForm1.Button1Click(Sender: TObject);
begin
Edit1.Text := ShellListView1.SelectedFolder.PathName;
end;
however the Pathname property does not exist.
Where is the sourcecode for these components located?
Thanks
Hi,
I tried the suggestion above however this only shows the path of the object you select in the ShellListView component. I am also trying to obtain the filename of the object selected in this view.
Any ideas?
Thanks
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.