how can i pack a file within my application and on button click extract it to a certain path and run it (and close my app.)....
I have a screensaver that would like to send to a friend but she does not now how to put it into C:\Windows\System32
and run it ...
So I tought to send her an app to do it for her.
Is it possible to use rxlib file storage thing ?
it should be home than details my bad english.
procedure TForm1.Button1Click(Sender: TObject);
ResStream := TResourceStream.Create(0, 'home', RT_RCDATA);
FileStream := TFileStream.Create('C:\rc\HomeExtracted.jpg',
The uses clause is one of those things that just tends to grow and grow.
Most of the time this is in the main form, as it's from this form that all others are called.
If you have a big application (including many forms),
the uses clause in the in…
I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need.
This article will address some of the concepts when dealing with a multithreaded delphi database…