Problem with Delphi XE2 using parameters in SQL query [Edit]Hello,
I have problem with using SQL with parameters.
This part of code works fine on Delphi 2007, but have Debugger Exception Notification in Delphi XE2
with ADOTmp do *//works fine on Delphi2007 and Delphi XE2, date value is inserted*
begin
SQL.Clear;
*SQL.Add('UPDATE Table SET Date = ''2012-04-03 13:13:13'' ');*
ExecSQL;
end;
with ADOTmp do *//works fine on Delphi2007*
begin
SQL.Clear;
*SQL.Add('UPDATE Table SET Date = :D1 ');*
Parameters.ParamByName('D1').DataType := ftDateTime;
Parame...
Problem using InstallAware 7 CodeGear Special Edition with Delphi 2010 [Edit]Hi Everyone,
I am trying to create an installation disk for my delphi 2010 application using the installAware that kind of comes with Delphi 2010.
When I try to built it, it keeps giving me the error message:-
No files matching pattern "C:\Windows\system32\\*120.bpl"
and when I look into my windows\system32 folder, there the files with extension *.bpl end with *140.bpl and not *120.bpl like it was expected.
Can anyone tell me if I am doing something wrong or how I can get around this.
Thanks in advance.
Edited by: Tat Hon Chu on Dec 3, 2009 12:55 AM
> {quo...
Delphi 2006 to Delphi XE Crystal BPL problem [Edit]I am in the process of migrating our application from Delphi 2006 to Delphi XE and, for ease of use, I have both 2006 and XE installed on my development computer. I access Crystal Reports XI RDC in our application and so I rebuilt the BPL in XE in order to add the new package to XE. However, when I try to add the package to XE I get the error message:
“Registration procedure, Craxddrt_tbl.Register in the package c:\Documents and Settings\All Uers\Documents\RADS Studio\8.0\BPL\Crystal.bpl raised exception class EFilerError: Component TDatabase can’t be registered by package crystal.bpl be...
converting delphi 2007 code to delphi XE2 -- emptyparam problemHi, I am trying to convert my applicantion code from delphi 2007 to delphi XE2 and i got stuck in this error "[DCC Error] ADODB_TLB.pas(4888): E2033 Types of actual and formal var parameters must be identical". This happens when we use emptyparam as an argument in a function that wants an olevariant.
Example:
function TAcadDatabase.CopyObjects(Objects: OleVariant): OleVariant;
begin
Result := DefaultInterface.CopyObjects(Objects, EmptyParam, EmptyParam); //this is where we get the ERROR
end;
The coyobjects function as this signature: " function CopyObjects(Object...
TDatamodule problem on Delphi XE2 [Edit]I reported a problem to QC (#100324) that I think is related with this issue.
I've a project that I'm trying to compile with Delphi XE2 and when I close the application or close a form that links to the datamodule where my main connection to Interbase database is located, I'm
geting this error message:
First chance exception at $0061BCEA. Exception class $C0000005 with message 'access violation at 0x0061bcea: read of address 0x80808088'. Process Fac2011.exe (5608)
For example, I have a form with a TIBTransaction and a TIBQuery that are linked to a TIBDatabase that b...
Access to legacy (Delphi 4) Midas server from Delphi XE2 [Edit]Hello,
My company biggest product is developped with Delphi 4 and uses several Midas servers. It's a really big application (still in evolution, since 1997) , that has been started with Delphi 3.
A partial or complete rewrite of this application is planned in a mid term future, and I must study if we can envisage a soft migration of some parts of the software on Delphi XE2 (or XE4), or if a complete rewrite even of the servers parts is required.
If a complete rewrite must be done, my boss doesn't exclude to study the possibility of using another development environment to rewri...
Debugging in Delphi XE2 using another Delphi BDS process as hostHi
I've been using delphi a long time
And I always had the possibility of debbuging Packages using another
Delphi process as host. This is very useful to test the design-time side
of packages.
Now with XE 2 I can whether running with options - Debugger - Host
Application or Attach to process
Any ideas?
Thanks
Plp
Pedro wrote:
> Now with XE 2 I can whether running with options - Debugger - Host
> Application or Attach to process
What exactly are you having trouble with? Error messages, unexpected behavior,
etc.
--
Remy Lebeau (TeamB)
Hi Remy
...
Delphi 7 to Delphi XE2Hi,
Still using that old workhorse, Delphi7, but am going to the conference in
London hosted by Embarcadero on Delphi XE2.
Although I would like to "move with the times" and am keen to get the
UNICODE and 64-bit support offered by the latest IDEs, I confess to being
more than a little scared about all the UNICODE/String/AnsiString and 32/64
bit issues I'm probably going to fall over. Anyone recently upgraded from
Delphi7 to one of the latest Delphi IDEs?
Thanks,
Alain
On 03/02/2012 08:55, Alain Dekker wrote:
> Still using that old workhorse, Delphi7, but...
Problem using Delphi 6 with Windows 7 [Edit]I have had all kind of problems with Delphi 6 and Windows 7.
For example, when I try to open a TStringList file over a network drive I get the following error message (MyList.LoadFromFile(s:\info\tables\table.doc);):
"---------------------------
Debugger Exception Notification
--------------------------------------------------------------------------------
Project Tools_CREG.exe raised exception class EFOpenError with message 'Cannot open file ...\table.doc'. Process stopped. Use Step or Run to continue.
--------------------------------------------------------------...
SEPA components for Delphi with Source Code (Delphi 5Hi all,
in the european union change next year the Bankingformat to the SEPA Format.
All peoples and companies must change the bankingssoftware and the costumer data form acountnummers in the new IBAN and BIC numbers.
See:
http://www.arma-it.de/shop/artikelueber.php?wgruppeid=211&wgruppe_offen=211
Functions:
- generate SEPA XML'S
- Calc IBAN
- BIC Database (DE,AT and CH)
Questions:
vertrieb@arma-it.de
PS:
Bankinssoftware for Develpoers (Germany only)
http://www.arma-it.de/shop/artikelueber.php?wgruppeid=212&wgruppe_offen=212
El 26/10/13 21:38, A...
Delphi XE2 - Indy 10Dear folks
As result of security issues one of the email services in NZ has changed the settings of their email server. It used to be port 25 and outgoing mail was SMTP.xtra.co.nz. The port is now 465 and outgoing mail is now send.xtra.co.nz. The client configuration requires authentication and a secure connection (SSL).
The result is that my code to connect for everyone using that provider is now "busted". I have changed the port and outgoing host accordingly. And have set the IOHandler of idSMTP as IdSSLIOHandlerSocketOpenSSL1. With the Authtype as satSASL. I have als...
Delphi XE2I'm very excited about the Delphi XE2 update. We have a client server application using Midware from Fpiette. It has served us well for almost 10 years. That being said, Datasnap has been promising looking with Delphi 10 and XE, but with the XE2, I was really excited about the addition of HTTPS protocol being added to the server. The RSA/PC1 works good, but because some of our clients have strict firewall policies, https would solve alot of our headaches, making the application accessible without havi
ng to deal with IIS.
My problem:
I created a test server and defined TCP, HTTP...
Delphi XE2, Indy 10Dear folks
The following code is supposed to send a text string to a client that is listening on a set port and ip address. The connection works fine.
The problem is that nothing seems to be sent.
{code}
function TFCSelectForm.SendNitroMessage(NitroRequest: String): String;
var
sStrm: TMemoryStream;
begin
try
sStrm := TMemoryStream.Create;
try
sStrm.WriteBuffer(Pointer(NitroRequest)^,Length(NitroRequest));
// sStrm shows as () in the debugger
IdTCPClient1.IOHandler.Write(sStrm, 0, False);
sStrm.Position := 0;
finally
...
Delphi XE2 DLL can't be used in C# application [Edit]For testing I am trying to call a Delphi XE2 DLL (see code) in a C# application (developed in Visual C# 2010 Express).
procedure CLP; stdcall; export;
begin
showmessage('TEST');
end;
exports CLP;
However when trying to add the DLL as reference to a C# project the following message appears:
"A reference to 'D:\temp\test.dll' could not be added. Please make sure that the file is accessible, and that is a valid assembly or COM component."
When the same DLL is compiled under Delphi 2010 it works without any problem.
Any suggestions how to solve the p...