FastScript in Delphi XE8I 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...
Set of Char in XE8 gives compiler warningsI have code like this:
{code}
const
{Characters not allowed in file names.}
FileNameForbiddenChars: set of Char = ['<', '>', '|', '"', '\', '/', ':', '*', '?','&']; // note: Some of these, while technically legal, cause issues elsewhere
function IsValidFileName(Filename:String):Boolean;
{
Returns "True" if file name is legal/valid in Windows.
Note: This is for FILE NAMES not full file paths, so will return false
for a path like "C:\MyFile.txt"
}
...
Delphi code thowing errors within IDE (but not in compiled exe) [Edit]Rad Studio - Delphi 2010 (Windows 7, 64 bit laptop)
I started to get some issues with my delphi code not running within my Rad Studio (Delphi) 2010. I have been days trying to figure out why. Working with one installed package after another, trying to decide if it was the culprit or not. After finally uninstalling all packages, and even uninstalling the entire Rad Studio (and re-installing just Rad-Studio), i can't seem to figure what can be causing my Delphi IDE to act as it does. I even cleaned the registry of all things related to my component package a
nd Rad Studio (before re-inst...
Code works in Delphi 7 but not in Delphi 2010 [Edit]hello,
i have a procedure that open's a file by passing the file name as the parameter to the executable.
something like this
{code}
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 "
{code}
The source code is
{code}
procedure OpenFileWithExe
var
hReg: HKEY;
Ret: Longint;
RegDataType, RegDataSize: DWORD;
CmdLine: array [0..560] of Char;
Len: Integer;
SInfo: TStartupInfo;
PInfo: TProcessInformation;
begin
Ret := windows.RegOpenKeyEx(HKEY_CURRENT_USER,
...
superreview requested: [Bug 201879] RFEChris Thomas <cst@andrew.cmu.edu> has asked David Bienvenu
<bienvenu@nventure.com> for superreview:
Bug 201879: RFE - Warning the user that many message windows are going opened
due to a double-click when many messages are selected
http://bugzilla.mozilla.org/show_bug.cgi?id=201879
Attachment 140378: New patch
http://bugzilla.mozilla.org/attachment.cgi?id=140378&action=edit
...
superreview requested: [Bug 201879] RFEChris Thomas <cst@andrew.cmu.edu> has asked David Bienvenu
<bienvenu@nventure.com> for superreview:
Bug 201879: RFE - Warning the user that many message windows are going opened
due to a double-click when many messages are selected
http://bugzilla.mozilla.org/show_bug.cgi?id=201879
Attachment 140384: Newer patch
http://bugzilla.mozilla.org/attachment.cgi?id=140384&action=edit
...
superreview cancelled: [Bug 201879] RFEChris Thomas <cst@andrew.cmu.edu> has cancelled Chris Thomas
<cst@andrew.cmu.edu>'s request for superreview:
Bug 201879: RFE - Warning the user that many message windows are going opened
due to a double-click when many messages are selected
http://bugzilla.mozilla.org/show_bug.cgi?id=201879
Attachment 140384: Newer patch
http://bugzilla.mozilla.org/attachment.cgi?id=140384&action=edit
...
superreview cancelled: [Bug 201879] RFEChris Thomas <cst@andrew.cmu.edu> has cancelled Chris Thomas
<cst@andrew.cmu.edu>'s request for superreview:
Bug 201879: RFE - Warning the user that many message windows are going opened
due to a double-click when many messages are selected
http://bugzilla.mozilla.org/show_bug.cgi?id=201879
Attachment 140378: New patch
http://bugzilla.mozilla.org/attachment.cgi?id=140378&action=edit
...
superreview requested: [Bug 201879] RFEChris Thomas <cst@andrew.cmu.edu> has asked David Bienvenu
<bienvenu@nventure.com> for superreview:
Bug 201879: RFE - Warning the user that many message windows are going opened
due to a double-click when many messages are selected
http://bugzilla.mozilla.org/show_bug.cgi?id=201879
Attachment 140551: New newer patch
http://bugzilla.mozilla.org/attachment.cgi?id=140551&action=edit
...
superreview granted: [Bug 201879] RFEDavid Bienvenu <bienvenu@nventure.com> has granted Chris Thomas
<cst@andrew.cmu.edu>'s request for superreview:
Bug 201879: RFE - Warning the user that many message windows are going opened
due to a double-click when many messages are selected
http://bugzilla.mozilla.org/show_bug.cgi?id=201879
Attachment 140551: New newer patch
http://bugzilla.mozilla.org/attachment.cgi?id=140551&action=edit
...
dll fails when compiled with delphi 2010, but works with delphi 7I 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...
Attempting to compile Delphi 5 code in Delphi XE5 is failingGreetings All,
If I'm not in the correct formum please tell me which one I should be in.
Just upgraded to Delphi XE5 and am attempting to compile one of my Delphi 5 projects. I used Interbase Express
I use either
TDataSource -> TCDSProvider -> TDataSetProvider -> TIBQuery or
TDataSource -> TClientDataSet -> TDataSetProvider -> TIBQuery
Also used TIBDatabase, TIBTransaction, and TIBStoredProc
I open the smallest project I have and click compile and almost immediately I receive this error
Checking project dependencies...
Compiling CITranEngine.dproj...
I double click on a control and the code is put in the HTML file not in the code behind
for some reason when i I double click on a control. the code gets put in the HTML file and not in the code behind cs file
how can I fix it so when ever I drag a countrol, double click on it, the code gets generated in the code behind
When you go to add a file to the project, there is a checkbox for if the code should be in a codebehind file. Did you check that box?Please Mark As Answer posts that helped you."If we learn from our mistakes, I should be brilliant by now."
Hi Sean,
Based on my understanding, you want to write the server code in the code beh...