Delphi 6 to Delphi XE2: can't find required package.We have a Delphi 6 Project Group that we like to work on in Delphi XE2. When trying to build the project, we get the DCC Fatal Error E2202: Required package 'cds' not found.
With Delphi 6 we've used the following tools:
- JVCL340 & JCL221
- devExpress QuantumGrid 6
- QuickReport (default in Delphi 6)
- Visoco Sybase Driver, Devart Oracle en MSSQL drivers
With Delphi XE2 (update 3 installed) we're using the following tools and settings for now (after removing Delphi 6 in an attempt to make it work) :
- JVCL345 & JCL231 (http://jvcl.delphi-jedi.org/)
- devExpr...
can't load any 64 bit C++ Builder dll from Delphi, XE3Hi,
We can't load any 64 bit dll from our 64 bit app. We have removed all user dll references from the app, without the dll the app successfully starts in 64 bit.
The app works in 32 bit mode with many 32 bit user dll-s.
We have made a small dll and a small app both in 64 bit. This works. But when we trying to load this small dll in the big app (the big app is ~700,000 line). The debugger reports the following messages and the Event Log stays at loading this small dll.
////
[203948A4]{dbkdebugide170.bpl} Debug.TDebugKernel.msgBox (Line 5927, "Debug.pas" + 30) + $0
...
Delphi XE2/XE3 Can't connect a TSQLConnection from secondary threads [Edit]I'm porting code from D2009 to Delphi XE3 (just verified the same applies to XE2).
In XE3, I just found out that if I create a TSQLConnection and connect to a MSSQL database from a thread that is not the main thread, it will give me the infamous "DBX Error: Driver could not be properly initialized. Client library may be missing, not installed properly, of the wrong version, or the driver may be missing from the system path." message.
If I run exactly the same code from the main thread, all is fine.
This is a sample code, in this case with just a button on a form, nothing fanc...
Delphi XE2/XE3 Can't connect a TSQLConnection from secondary threads [Edit]This message is in MIME format. Since your mail reader does not
understand this format, some or all of this message may not be legible.
--JivePart=_78da1.zeB8CwDOH5aMJzMl
Content-Type: text/plain; charset="Utf-8"
I'm porting code from D2009 to XE3 (just verified the same applies to XE2).
In XE3, I just found out that if I create a TSQLConnection and connect to a MSSQL database from a thread that is not the main thread, it will give me the infamous "DBX Error: Driver could not be properly initialized. Client library may be missing, not installed properly, of the wrong...
can't load any 64 bit C++ Builder dll from Delphi, XE3This message is in MIME format. Since your mail reader does not
understand this format, some or all of this message may not be legible.
--JivePart=_80a66.zeB8CwDOH5aMJzMl
Content-Type: text/plain; charset="Utf-8"
can't load any 64 bit C++ Builder dll from Delphi, XE3 - Attachment
--JivePart=_80a66.zeB8CwDOH5aMJzMl
Content-Type: application/octet-stream;
name="dlltest.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="dlltest.zip"
UEsDBBQAAgAAAJylNkIAAAAAAAAAAAAAAAAIAAAAZGxsdGVzdC9QSwMEFAACAAgAlD0uQoq2CiN+
A...
Can't use RAD Studio XE2 (C++) and SQL Server Express 2012 [Edit]I have been using SQL Server Express 2005 and RAD Studio 2009 with no problems in a 32bit version of Windows 7
I have upgraded to RAD Studio XE2 and SQL Server Express 2005 and 64bit Windows 8 and get the following error...
"DBX Error: Driver could not be properly initialized. Client library may be missing, not installed properly, or the wrong version, or the driver may be missing from the system path"
dbxconnections.ini is in C:\Users\Public\Documents\RAD Studio\9.0\Bpl (which is in the path)
dbxdrivers.ini is in the same directory and lists sqlncli11.dll as the VendorLib,...
Can't use RAD Studio XE2 (C++) and SQL Server Express 2012 [Edit]I have been using SQL Server Express 2005 and RAD Studio 2009 with no problems.
I have upgraded to RAD Studio XE2 and SQL Server Express 2005 and get the following error...
"DBX Error: Driver could not be properly initialized. Client library may be missing, not installed properly, or the wrong version, or the driver may be missing from the system path"
dbxconnections.ini is in C:\Users\Public\Documents\RAD Studio\9.0\Bpl (which is in the path)
dbxdrivers.ini is in the same directory and lists sqlncli11.dll as the VendorLib, which is in C:\Windows\System32.
Any ideas?
...
Using 'SetConsoleCtrlHandler' to correctly Terminate application (Delphi XE2)Hello everyone,
I'm using 'SetConsoleCtrlHandler' to correctly Terminate my console
application (at least I'm trying to).
So far it seems to work when the user presses Ctrl+C / Ctrl+Break.
However, when the user presses the top-right cross (to close the
Window), I receive the message/callback, but the working proces/thread
isn't shutdown in an correct matter.
The help for 'SetConsoleCtrlHandler' (MSDN) states, the callback event
might be called from a different thread, then the actual
(console)process is running.
So how do a wake up/sync with the...
Using 'SetConsoleCtrlHandler' to correctly Terminate application (Delphi XE2)Hello everyone,
I'm using 'SetConsoleCtrlHandler' to correctly Terminate my console
application (at least I'm trying to).
So far it seems to work when the user presses Ctrl+C / Ctrl+Break.
However, when the user presses the top-right cross (to close the
Window), I receive the message/callback, but the working proces/thread
isn't shutdown in an correct matter.
The help for 'SetConsoleCtrlHandler' (MSDN) states, the callback event
might be called from a different thread, then the actual
(console)process is running.
So how do a wake up/sync wit...
Using 'SetConsoleCtrlHandler' to correctly Terminate application (Delphi XE2)Hello everyone,
I'm using 'SetConsoleCtrlHandler' to correctly Terminate my console
application (at least I'm trying to).
So far it seems to work when the user presses Ctrl+C / Ctrl+Break.
However, when the user presses the top-right cross (to close the
Window), I receive the message/callback, but the working proces/thread
isn't shutdown in an correct matter.
The help for 'SetConsoleCtrlHandler' (MSDN) states, the callback event
might be called from a different thread, then the actual
(console)process is running.
So how do a wake up/sync with the...
Starting 2 TThread 's directly after each other doesn't work in delphi xe2 [Edit](SOLVED: iLog was not thread safe.)
-----
Hello,
I have a very simple thread:
(note: iLog just logs output -- threadsafe; not included here.)
{code}
unit mySimpleThread;
interface
uses
System.Classes,
System.SysUtils, System.Types, System.UITypes, System.Variants;
type
TmySimpleThread = class(TThread)
public
constructor Create();
destructor Destroy; override;
private
procedure Execute; override;
end;
implementation
constructor TmySimpleThread.Create();
begin
inherited Create(True);
iLog('TmySimpleThread created');
end...
Delphi (2007 ...XE2) WSDL importer can't "unwrap" WSDL's from RemobjectsHello all,
I'm having a lot of problems importing WSDL's from SOAP services created by Remobjects SDK. The Delphi WSDL importer can't "unwrap" the parameter types, I get errors like: "Cannot unwrap: - Input element wrapper name does not match operation's name - More than one strictly out element was found"
RemObject's own service builder can unwrap the parameters, only Delphi's importer can't.
I attach an example here, can anyone tell me what's wrong with it?
Kind regards,
Arthur
-------------------------------------...
Delphi 2010 can't upgrade Delphi 2007 projectsIf I open any of my Delphi 2007 projects in Delphi 2010 it prompts me that it will upgrade it. Unfortunately, that leaves Delphi 2010 to give errors about not knowing where to find system and other core units. On the other hand, if I delete all the BDS project files and only leave the .dpr, Delphi 2010 can successfully open and compile my project.
However, besides that quirk, I have another problem. I need to have both a working Delphi 2007 project and Delphi 2010, so I can compile using both without being prompted each and every time about upgrading project :)
So... Any ideas to what m...
Can't terminate an application in the 'except' portion of a 'try..except' [Edit]I'm a long time Delphi 5 user, recently switched to Delphi XE... and I'm having trouble getting a program to terminate if an exception is raised. Here's the code:
procedure TForm1.FormCreate(Sender: TObject);
begin
try
DFCom.Open
except
showmessage('Invalid Com Port number');
application.Terminate;
end;
end;
In this code, 'DFCom' is an async serial port device. If the exceptino occurs, I want to notify the user via the 'showmessage' mechanism, and then abort the program. When I run this (with an invalid port number assigned to...