Back again with yet another DirectSound question, this one regarding the ways DirectSound Buffers can be used:
I have packets coming in over the network at approximately 30ms intervals containing audio data that is decoded into raw wav data by other parts of the application.
When the Indata event is triggered by these other pieces of c...
I have an issue installing Delphi 2007 RAD Studio Professional onto Windows 7 64 Bit Enterprise.
Everything is fine until I enter the serial number for the installation. After I enter it and click the next button in the installation wizard I get an installation script error at line 906. OKing that error closes the installer.
I have don...
Hi all.
I have a function in C++ that I call with its memory address with typedef, and I want to do the same thing in Delphi.
typedef void (*function_t)(char *format, ...);
function_t Function;
Function = (function_t)0x00477123;
And then, I call it with: Function("string", etc);
I tried to do this in Delphi, but got no results.
I...
Hello everyone!
Very recently I have come back to Delphi after a long pause and written a rather straightforward utility app my client requested to support an older release...
I know these days the size does not matter much, but it struck me as odd that the one-unit application, when compiled, amounted to 1'084'416 b executable. The on...
We recently converted our long-running Delphi project to Open Source. Multiple people have contributed patches already, which is great, but unfortunately forms and frames when saved with Delphi 2006 (and later) contain new properties in the .dfm that are not handled by older versions. Forms are handled quite gracefully by the IDE ("ignor...
Hi , I am new to XML and want to create an XML file using IXmlDocument having namespace prefix only on root tag using delphi 2006.
I tried following code for append namespace prefix on created file
xmlDoc := TXmlDocument.Create(nil);
try
xsiNS := rsxsiNS;
lNS1 := 'urn:dnspXML:' + 'r2';
lNS3 := lNS1 + ' dnspXML/dn...
is there a vcl or a project (in delphi) that would allow me to download OSM tiles and display them on an app?
I have tried embedding an browser and it worked great but i need a way to display the maps offline.
...
Hi,
How to escape the special characters when executing an SQL query, when it is executed from Delphi using TADOQuery or TADOCommand etc..
For example the "scope operator".
Query looks like this.
GRANT CONTROL ON SCHEMA :: dbo TO supervisor
Thanks & Regards,
Pavan.
...
Hello,
I have a project group containing two projects that share one source folder,but do different things.What I find strange is the use of 'project group',but I don't want to turn this a subjective question,thereby I directly ask you:
How do I run all the projects in a project group - is there a short way?
Thank you in advance!
...
I would like to embed mozilla firefox into my application WITHOUT using any activex control (TWebBrowser wrapper, mozilla ActiveX...). I tried using TWebBrowser (actually bsalsa's embedded webBrowser wich is by far better), but all versions of IE seem incompatible with some features of popular javascript framework and libs (JQuery, ExtJS...
I use delphi 7 and I would like to extract ONLY the text displayed in a webpage directly from a web page displayed in a TWebBrowser (no images....). Could it be done & how can I do it?
Best Regards, M
...
Hi
I'm using Delphi 7.
I would like to count the number of repetitions of every word in a large text (500 words).
How could I do it?
...
Hi,
I have modified the send-assistant of madExcept with a new checkbox. If the use checks this box, I want to send additional attachments with the bug report (a copy of the users data files).
How can I check if the user checked the box?
regards,
-Vegar
...
I have an issues where I am trying to determine if a reference to an object is valid. But it seems to be returning strange results.
procedure TForm1.Button1Click(Sender: TObject);
var form1 : TForm;
ref2 : TControl;
begin
form1 := TForm.Create(nil);
form1.Name := 'CustomForm';
form1.Parent := self; //Main Form
form1.Sh...
Yep, the title says it all.
Delphi 2007 on windows 7 just does nothing on the saveDialog.Execute call.
I have seen another person mention this a few weeks back but it was with Borland c++.
Any clues?
JD
...
Is there a more elegant way of checking if a TCP port is available with Delphi other than catching a netstat call?
...
Hi all,
In the project I am working on, there are cases where more than one TList objects contain the same item object.
Essentially, there is a master list which contains all the item objects, then smaller lists that contain only a subset of all the items. The items are the same however, not a copy.
Where the problem arises is during ...
void __fastcall TUsers::DBGColExit(TObject *Sender)
{
Ado->ExecSQL();
AQ4->Close();AQ4->Open();
}
after changing content of Table for AQ4 (Ado Query) and reload AQ4
DBG (DBGrid) reloads content too.
but I'm still on not Exit from my Col (Column) (and row) and then when I press on Selected+1 after reload row it selects second r...
I have written a utility that search logfiles for exceptions and it have worked fine with Vista 64 bits. Now I have upgraded to Windows 7 64 bits and it could sometimes hang forever when reading a filestream. I think it hangs only if the log file is active and the user write to it. But this works fine before as I use fmShareDenyNone flag...
I need my Delphi application to issue very simple commands for example
ssh -l userid host.domain.com "df -h"
[email protected]'s password: XXXXX
Filesystem Size Used Avail Use% Mounted on
/dev/sdd5 4.9G 1.7G 3.0G 36% /
/dev/sdc1 1.1G 75M 952M 8% /boot
/dev/sdd2 2.0G 44M ...