For (application) server development with Delphi, I would like to use a workflow engine similar to the existing implementations for other programming languages (see http://en.wikipedia.org/wiki/Workflow_engine). Is there already an implementation or should I better write my own?
...
How should I write the following select in delphi:
select to_char(sysdate, 'dd.mm.yyyy hh:mm:ss) from dual
When I try to execute it I receive an error, but this works:
select to_char(sysdate) from dual
Thanks in advance!
...
I am developing a Delphi frame and need to load a list of business objects into a grid control at the beginning. Delphi frames have no OnCreate event, so what is the best way to replicate this? Should I override the constructor like is suggested on About? Should I just make a public loadData() procedure and have the parent container c...
For a dataset which takes a very long time to open (it is a stored procedure), I would like to implement some kind of caching on the Datasnap server.
So if this dataset is loaded the first time and transferred to the client (TClientDataSet), it should not be closed and reopened for the following requests unless the server restarts or a ...
Debug buttons are disabled in Delphi 2007 IDE. I can build project with command line or Project -> Build, but cannot run application or either attach to process.
I'm wondering if anyone has encountered this issue in the past and can help me.
Few facts:
Delphi 2007 IDE was installed on my machine and worked just fine.
Debug buttons go...
this code works fine:
procedure TForm2.Timer1Timer(Sender: TObject);
var
Text: string;
begin SetLength (Text,555);
GetWindowText (getforegroundwindow, PChar (Text),555);
Form2.gtListBox1.Items.Add (
IntToStr (getforegroundwindow) + ': ' + Text);
end;
but when i put
var
Text: string;
from Timer1Timer event handler to
...
Hi, How can I convert Delphi's DFM forms from the binary format into text format using C#?
...
I can't count how many times I may have erroneously done this:
for i := 0 to MyList.count-1 do begin
myobject := TMyObject(MyList[i])
.......
end;
when it should be this:
for i := 0 to MyList.count-1 do begin
myobject := TMyObject(MyList.objects[i])
.......
end;
Note the objects in the second snippet of code.
The erroneo...
My company lost its cd for delphi and now we are trying to scour the net to find a copy we do have our cd key but not the actual cd does anyone have a copy or knows where I could purchase one?
...
Hi all,
I have a report that uses a master and a child query - the master selects three fields in a group by: billstatus, oscategory(server or workstation) and groupname
The child query selects a bunch of information from the same view with no group by.
I used the rave wizard to create a master detail report, linking the parent and c...
I have a server application built using the TipwIPDaemon component. When clients connect the connected event is fired with the connectionid of the connection:
procedure TServLogic.IPDaemon1Connected(Sender: TObject;
ConnectionId, StatusCode: Integer; const Description: String);
The documentation states the TipwIPDaemon.connectionc...
I've written a Windows program in Delphi that places and wraps text very precisely to both the screen and printer using GetCharWidth and Em-Square. This has worked well with ANSI text where you only need to retrieve and calculate the widths of 255 characters but when you go to Unicode with 65535 characters its too slow. The problem is ma...
I've fixing a bug in an OLEDB driver implementation that provides access to our proprietary database.
The problem that I'm having is that after executing a command to write a newly inserted record to disk I need to update an identifier column defined as DBCOLUMNFLAGS_ISROWID. This column needs to hold the physical offset of the record ...
I program in Delphi. On my development machine I have imported the Flash10h.ocx control and have developed a Win32 application which will render a swf file. This all works fine on my development machine.
However, I am trying to get the same application to work on another box. I have installed Flash for Internet Explorer; I can go to ...
i would like to record any sounds produced in my soundcard. please help, where i can get a freeware component or commercial(trial). delphi7/2009
...
Hi!
Look at this sample:
//----------------------------------------------------------------------------
type
ISomeInterface = interface
procedure SomeMethod;
end;
// this is wrong, but illustrates that, what i need:
TSomeClassWhichImplementsSomeInterface = class of ISomeInterface;
var
gHardCodedPointer: Pointer; // no m...
Hello,
I am working with Delphi. I am using bmp.ScanLine[] in my code. My code is as follows :
bmp := TBitmap.Create;
bmp.Height := imgMain.Height;
bmp.Width := imgMain.Width;
for i := 0 to imgMain.Height - 1 do begin
prgb := bmp.ScanLine[i];
p1 := imgMain.ScanLine[i];
for j := 0 to imgMain.Width - 1 do beg...
Hi all,
I'm looking for lock-free container(List/Queue/Stack...) which can been used with delphi 2007. Thanks!
...
I need to be able to receive a array (preferably a two dim array) in one of my functions in my webservice. I've tried looking on the internet, but could not find a example piece of code.
Using arrays is fine and normal, but do not have an idea how to make my webservice access them as part of the function parameters. It only needs to be ...
How can in delphi convert :
'1' to '1,00'
or
'1,5' to '1,50'
e.g All variables are in string.
thank you
...