Why does this work fine in Delphi 2009, but not in Delphi 2010
I've been racking my head trying to figure this out and can't understand what is wrong, TFileStream.ReadComponentRes fails when I try to read a component containing a record, it works fine in Delphi 2009 and Delphi 2007, but fails with Delphi 2010
Here is the unit source and DFM
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
TThresholdMode = (tm0,tm1,tm2,tm3,tm4,tm5);
TThreshold = Record
...Code works in Delphi 7 but not in Delphi 2010 [Edit]
i have a procedure that open's a file by passing the file name as the parameter to the executable.
something like this
C : \ P r o g r a m F i l e s \ Da c k e r \ D r a c k e r . e x e " G : \ D E l p h i 7 \ D e l p h i 7 A p p _ l o g . t "
The source code is
RegDataType, RegDataSize: DWORD;
CmdLine: array [0..560] of Char;
Ret := windows.RegOpenKeyEx(HKEY_CURRENT_USER,
...Bug in DBExpress/Datasnap for Delphi 2010?
My code works fine using DBExpress in D2009 and using DdbGo in D2009/2010.
However it does not work in DBExpress 2010.
I create a query based around a TClientDataset (with a TSQLDataset and
TDatasetProvider). The query is a Datasnap query.
The query has more than one field in it which is of type 'blob'.
If the blob field is the *first* field in the query then I can go:
SELECT SearchIcon, SectionIcon FROM Env ORDER BY ID
and FieldStream.Size will not be 0
However if...Datasnap in Delphi 2009, 2010 [Edit]
I have a simple client/server Datasnap application that I created with Delphi 2009. Works fine, but if I try to connect to the server with a TSQLconnection from within Delphi 2010, it not only won't connect, it locks up the program.
Is this by design, or is it a bug?
Edited by: Keith Daly on Sep 22, 2009 11:20 AM
"Keith Daly" skrev i meddelandet news:email@example.com...
>I have a simple client/server Datasnap application that I created with
>Delphi 2009. Works fine, but if I try to connect to the server with a
>TSQLconnection from within Delphi 2...dll fails when compiled with delphi 2010, but works with delphi 7
I may be doing good if someone can just point me to the right forum
I have not created a dll for some time and have not written one with 2010 before. The dll I am creating will be called as a cfx function by either a ColdFusion or BlueDragon webserver. I have written cfx DLLs in the past.
The function declaration is below, it is the standard declaration from ColdFusion or Bluegradon documention on creating a CFX.
procedure ProcessTagRequest(Request: TCFXRequest); export; cdecl;
Since this was the first time using 2010 I wrote a very basic function to build off that was not much mor...Delphi XE5 DataSnap application
I have developed a datasnap server in Delphi XE5.
one client connect to Server.
one client fire a method (lets say Server.ComputeTables ).
the Server is doing some long computation in the method ComputeTables. 1,2,5 xx minutes.
how to send feedback to the client? (a real feedback not ... "the server is doing something ... please wait").
server passed step 1
server passed step 2
server passed step 3
On your server, use NotifyCallback to send a message to the client.
TDSServer(fDSServer).Notif...Delphi 2010 can't upgrade Delphi 2007 projects
If 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...Delphi 2010 DataSnap with multiple server modules
We're going to upgrade the multi-tier project from Delphi 2007 to 2010 using
DataSnap. That is, we will convert the Remote Data modules to DataSnap
server modules. Previously (in D2007) we shared one ADO connection between
the remote data modules, I've managed to share the ADO connection between
the DataSnap server modules. It (APP Server) "seems" work fine, however,
some colleague mentioned that ADO is not thread safe. If that's the case, is
there any easy way to verify the issue?
BTW, to keep the minimal changes to the existing remote data modules, we
h...from delphi 6 to delphi 2010
It is possible, with component RX, dxforumlibrary, InfoPower3000Pro,
Accepts communication BDE.
Thank by comments.
excequiel arostica wrote:
> It is possible, with component RX, dxforumlibrary,
>InfoPower3000Pro, StringAlignGrid. Accepts communication BDE.
>Thank by comments.
Rx is dead and sources are taken over by jcl/jvcl. I dont know about
the rest of the components and i have no experiences with bde over the
last 9 years.
excequiel arostica wrote:
> It is possible, with component RX, dxforumlibrary,...Delphi XE / Delphi 2010
I noticed that Embarcadero® Delphi® 2010 Version is not on the list of products on
Or is it still possible to buy it?
Will RAD Studio XE compile programs written in Delphi 2010 without problems.?
Am 13.09.2010 09:04, schrieb Petra Nemec:
> Will RAD Studio XE compile programs written in Delphi 2010 without problems.?
As always you will probably have to recreate the projects as the import
is still a bit -- special.
Does anybody know if it is still possible to get a Delphi2010 trial version
(if yes where)?
...How Can I Add Perfmon Counters To My Delphi 2010 Application?
Does anybody have any sample code or can anyone point me in the direction of any third party components that will allow me to add windows perfmon counters to my application? I've seen some ancient examples in a few places, and have tried a few of these implementation with mixed results (i.e. I can only get a few types of very simple counters work). And now I'm converting to D2010, which presents even more issues.
Doug B wrote:
> Does anybody have any sample code or can anyone point me in the
> direction of any third party components that will allow me to ...Price of upgrade from Delphi 2010 Professional to Delphi 2010 Enterprise?
It's weird, but I could not find the answer on so simple question not in Embarcadero Shop, neither by the forum search.
For example, the shop info about Enterprise upgrade says:
The Upgrade product is available to registered owners of 2006-2009 versions, blah-blah...
So, if I'm Delphi 2010 Professional user, I even not eligible for upgrade? I have to buy a new version of Enterprise???
But if I'm Delphi 2006 Professional user, I can upgrade.
Please clarify this nonsense for me.
Exact question is in the subject.
> It's weird, but I could not...Delphi 2010 Preview Week 3: dbExpress, Firebird and DataSnap
The third Delphi 2010 and RAD Studio 2010 sneak preview "Make the Connection with RAD Studio 2010" is now live at http://etnaweb04.embarcadero.com/rad-studio-2010/
This week's sneak preview showcases RAD Studio 2010’s expanded database connectivity, including first time support for Firebird and updated drivers for popular DBMSs. The DataSnap multi-tier framework has been updated for easier interactions via standard communication protocols.
Watch the video to learn about these new features including:
- New and updated database support – New Firebird 2.1 and 1.5 support...Delphi 2009 DataSnap server application does not update DCOM configuration
Compiling and running a Delphi 7 datasnap server application works fine,
except that it does no longer update the path to the executable in the
DCOM configuration when I launch the server (as it used to be in older
Delphi versions). So the old path (pointing to the Delphi 7 version) was
still registered in the DCOM configuration.
As a workaround, I was able to modify the registry entry for the server
GUID which I found using DCOMCNFG.
Should I report this issue in QC or did I just miss an important change,
like calling a new registration method for DCOM-based datasnap servers...