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,
...FastScript in Delphi XE8
I am converting from Delphi 2006 to Delphi XE8, and am now nearing the finish line, but have one remaining major roadblock: FastScript
I use Fastscript very heavily as a way to allow our users to write scripts that can extend our software as much as they like, including creating forms and adding buttons. This is not working.
A specific problem that I have, is that code that works great in Delphi 2006 does not work in Delphi XE8. Specifically, if my script contains a reference to a "TForm", or "TBitBtn" (as well as many other components), then FastScript will return ...FastScript in Delphi XE8
*Edit: This is now solved, but I leave the original message below for reference. The solution was essentially to delete all traces of FastReports (That's "Reports", not "Script") from the computer, as it was interfering with FastScript. This was actually fairly involved to do, and we did it under the supervision of someone from FastScript tech support, who was extremely helpful. If you run into the problem described below, be sure to contact their technical support and see if maybe you are experiencin
g the same issue, and how to resolve it. I hope this is helpfu...What is with the " [Edit] [Edit] [Edit]" posts?
Don't know where I should post this, hopefully a short thread here is
okay. But, at least with my newsreader, Agent 6, longer threads tend
to get broken into pieces, with "[Edit]" attached to the topic name.
And sometimes longer threads then get [Edit] [Edit] and then [Edit]
[Edit] [Edit] For example, here is a current thread:
FastMM 4.96 available [Edit] [Edit] [Edit]
How does this happen? Can I make them show up as one thread?
Paul Doland wrote:
> Don't know where I should post this, hopefully a short thread here is
> okay. But, at least with my...ASA8 and Delphi ADO? Is it work?
Anybody test this configuration? As i can remember ASA7 don't work with
Delphi via ADO.
I haven't tested ASA8 with Delphi, but I'm using ASA7 with Delphi 5
and ADOExpress. There are some glitches, but ASA support has been
very helpful with addressing the problems.
On Fri, 29 Mar 2002 17:01:05 +0300, "Oleg Kovalevsky"
>Anybody test this configuration? As i can remember ASA7 don't work with
>Delphi via ADO.
>----------...Convert Delphi 5 ADO App to Delphi 2007 ADO.NET
I have an appliction tha that is writen in Delphi 5 with ADOConnetion, ADOTable, and ADOQuery components.
I need to upgrade to Delphi 2007 and use ADO.NET.
I have the program building in with Delphi 2007. Is there anything I need to do to convert the ADO to ADO.NET?
> I need to upgrade to Delphi 2007 and use ADO.NET.
With best regards,
AnyDAC (www.anydac.com) - Oracle, MS SQL Server, IBM DB2, MySQL,
Firebird, Interbase, PostgreSQL, Sybase ASA, SQLite, MS Access, DBX,
ODBC, InMem - universal high-speed native data access engine
Reasons for ...ADO error working with dbf [Edit]
MS win XP 32b prof. cz
RAD8 (DELPHI XE)
dbGO (ADO) working with DBF file error:
';Extended Properties="dBase 5.0";';
AadoDBF.Connected:=True; // connected OK
...Delphi XE2 + Windows XP. Does it work? [Edit]
We want to migrate from Delphi 2006 to Delphi XE2. Our OS is Windows XP.
Does XE2 run on Windows XP?
What are your experiences?
Edited by: Ronnie Smith on Jan 27, 2012 12:29 AM
I bet it does.
The following Windows platforms are supported as development platforms:
Microsoft® Windows 7 (32-bit and 64-bit)
Microsoft Windows VistaTM SP2 (32-bit and 64-bit) requires administrator
Microsoft Windows XP Home or Professional (32-bit and 64-bit) SP2 or SP3
Microsoft Windows Server 2003 (SP1) or 2008 (32-bit and 64-bit)
The latest service...TreeView.Color Not Working
Anyone tried to set the TreeView.Color when the
is "Slate Classico"
At design time its fine, but at runtime the Color is white.
Any ideas why ?
Changing the Appearence to something other than "Windows" also denies the font colour to be changed on a TLabel.
...Does Edit->Find not work for newsgroup posts?
This is a multi-part message in MIME format.
I'm brand new Thunderbird user and can't figure out how to search thru =
newsgroup posts for subjects with a particular word in them.
Edit->Find->Search Messages works OK to find strings in email subjects =
but when I search a newsgroup's messages, the search runs for a second =
or two and then stops with no results.
Content-Typ...ADO Connection not working if Delphi and Oracle not on same computer
I had Delphi working fine with Oracle using ADO when Oracle 11g is on the same pc as Delphi. I tried to use Delphi from another pc and I do not know what to enter for "Servername" on the Build connection string screen. Originally I had tough I needed to enter the computer name, aka Hostname. I also tried entering a name of the oracle instance or Oracle service, and also tried using this info in for format of hostname.service and \\hostname-service.
Can someone help -is it just the computer name, is it the ip address, does it need the Oracle instance name?
Hel...Textedit in RICH Mode
I'm using DNN 3.0.12.
In my custom module I try to use Dotnetnuke.UI.Usercontrols.Texteditor.
After load the module in DNN all it's ok : RICH mode of Texteditor is active and I can edit the main field.
But after doing the POST (for example after clicking on simple button outside TextEditor) edit of the main fails is not working.
When TextEditor is in BASIC mode - all works fine.
Any ideas? :-)
P.S. Adding the definiton of TextEditor (Protected WithEvents
TextEditor As Dotnetnuke.UI.Usercontrols.TextEditor) doesn't solves the
This is my test code:
...I Use C# at Work and Still Prefer Delphi [Edit]
I've been using C# and Visual Studio at work, but I still keep coming back to Delphi. Here what I think Delphi has over C# and VS.
Some features I prefer/need:
sets and set operations
deterministic and virtual destructors
virtual static methods
messaged based method and DefaultHandler
implementation through delegation
assign and assignto
access to source code examples of property editors, component editors, experts, design time support
full library source code
interface and implementation sections
design time bina...TQuery component does not work for me in Delphi Version 2010 [Edit]
Computer: Dell Inspiron 64 Bit. OS: Windows 7.
I have a Data Module with many Tables and DataSource components on it and they are working fine but I need to sum a column my TDBGrid and to do this I have put a TQuery on the Data Module with the following SQL (TStrings):
select sum(Parts."Ext") from Parts
When I click on the Active option I get the following error message:
File or directory does not exist.
File C:\Program Files (x86)\Embarcadareo\Rad Studio\7.0\bin\_QSQL000.DBF
Table does not exist..."
What am I doing wrong? Please ...