Hi.
I need a very simple function to draw a bunch of lines with anti-aliasing. It has to follow Delphi paradigm: self contained and SYSTEM INDEPENDENT (no DLL hell), fast, simple.
Anybody knows such a library?
Until now I have tried:
WuLine
swissdelphicenter.ch/torry/showcode.php?id=1812
I don't think that Peter Bone, the author of th...
I have associated a file extension with my Delphi 2009 program. I have been using the command line call method to pass the filename to my Delphi program so it can be opened.
However, I found that when selecting multiple files, and clicking on them all at once, it opens each file in a separate instance of my program. I asked about this...
I have the construct:
{$ifopt FINITEFLOAT ON}
{$message 'FINITEFLOAT option ON' }
{$else }
{$message 'FINITEFLOAT option OFF' }
{$endif }
in my source and it won't compile! It's got to be something stupid. The error is:
E1030 Invalid compiler directive: '$IFOPT'
at the first line, but it is the FINITEFLOAT it's complaining abo...
What are the advantages in using DataSnap compared to writing a
soapserver application.
I know Datasnap can use TCP/IP instead of soap.
Regards
Sandeep
...
Is it possible to convert Delphi SoapServer application to use TCP/IP?
Regards
Sandeep
...
Hi.
Specific question:
Does VARCHARMAPPING=True work on Ado OleDB connections for Visual FoxPro? and if so how should the connectionstring look like?
We're developing a Delphi application that uses parts of an old visual foxpro database as a base. This morning I had a working connection to the database that for all intents and purposes...
Possible Duplicate:
how to get motherboard id or serial number ?[Delphi]
Hi , is there any free component ?
...
I have a dialog with some fields in it. The user is suppose to fix the form which will later on be parsed. When the user presses ok, the data goes to the database if the checks are successful, if not a warning should be shown and the data dialog should stay. Something like shown below:
procedure TDataSaver.OKBtnClick(Sender: TObject);
b...
I'm using QuickReports within my application and would like to have "Page x of x" within the footer. What's the best way to do this?
...
I have an old application developed in Delphi 2006 that I now needed to make some changes in.
In this app, I'm loading images from a MsSQL "image" field
but when i compile with delphi 2010 I get the error :
"raised exception class EJPEG with message 'JPEG error #51'."
The code that get's the image from the database:
aStream := TMemory...
I'm looking for the Delphi eqivalent to the following Ruby Code
if Time.now.hour > 12 then
# Statement;
else
# Alternative Statement;
end
Thanks
Stefan
...
Hi there,
I'm using Ollydbg to disasemble a program. What I need to do is inject code into the program and save an EDX value at a certain point. I'm guessing the easiest way would be for me to create a dll with a single function like so...
function WriteEAXValue(EAX: PChar): LongBool
and then inject code into the program so it calls t...
Hello all!
I have two Delphi7 programs: a COM automation server (EXE) and the other program which is using the automation server.
I need to pass an array of bytes from one program to the other.
After some searching I've found that using variant arrays is the way to go (correct me please if you know any better methods).
My question is...
Hi
I need to format values in a DBGrid to display in a certain format ex '#,##0.00'. Any idea how to do that?
Regards, Pieter
...
I'm relatively new to DLL importing and function binding. Let's say I have a C++ project which is a GUI library written fully in OOP aiming to be used in games.
My game project however is written in Delphi. I now want to bind Delphi functions to the ones in the DLL.
I would know how to do this with simple functions, without classes lik...
I'm making a program for registration on a website.
For this, I use C++Builder and Indy (TIdHTTP).
How it works:
Program receives registration page via GET and extracts CAPTCHA picture address from it;
downloads the CAPTCHA (GET) and serves it to user;
sends the data provided by user to the website in POST request.
Problem: The CAPT...
Hi,
surely you know the easy manipulation in object inspector at design time with ImageList and ImageIndex properties. After assigning Imagelist you can click on ImageIndex property, and nice list of images togeather with their indexes appears.
I am trying to make my own control, which has imagelist and imageindex properties. But I won...
Subject line says it all really.
Some Googling has revealed a puzzling lack of relevant information. Some pointers to an existing implement would be great!
Raymond.
...
Hello,
I am trying to automatically submit a form, and save the resulting image that gets shown in the TWebBrowser object.
The image gets loaded over several chained javascript requests (ajax), until it finally appears in the document.
What is the best way to get this image?
I thought of hooking the receive function to be able to see t...
unit Unit2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient,
IdHTTP, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack,
IdIntercept, IdCookieManager, IdZLibCompressorBase, IdCompressorZLib, IdSSL,
IdSSLOpenSS...