Hi,
I have a soap webservice written in RubyOnRails and a client written in Delphi. The client and server comunicate fine using Delphi 2006, but compiling with the newer Delphi 2009 causes the Rails server to "crash".
This is the request (generated by built in THTTPRIO):
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http:/...
My application doesn't seem to receive or handle the same windows messages for the Cascade, Tile Horizontal/Tile Vertical on specific windows versions.
Windows XP x32 - Not working
Windows XP x64 - Not tested
Windows Vista x32 - Not working
Windows Vista x64 - Works fine??
Windows 7 x32 - Not tested
Windows 7 x64 - Not ...
Hi,
I have noticed a strange piece of behaviour when using MessageDlg and attempting to close my application via the Taskbar close all/group command.
My application is as follows:
There is a hidden main form which doesn't do anything other than handle some Windows Messages and pass them onto the child windows (if necessary).
Each chi...
When showing a secondary form from the main form and from the second form showing a third form and then closing both forms will cause the main form to lose focus.
Using Delphi 2009 with XP SP3
Here are my steps for reproducing the problem:
Create a new VCL forms applications
Drag a button onto the created form
In the click handler cr...
Currently we use Delphi 2007 because our application and some of our components are not compatible with Unicode. If and when we upgrade is it better to jump directly to Delphi 2010?
Propably, but I wonder if there is other compability issues except unicode?
How is performance, memory requirements and stability of those versions?
...
It got me stuck for an hour. I happened to have a string constant with about 280 characters in it.
I was trying to use Pos to look for a substring within a long string constant. It gives the result 0 when the string is longer than 255 characters, but gives the correct result when the string is shorter.
e.g.:
pos('5', '123456789.12345...
i'm using delphi 2009 with the VCL's TRibbon and TScreenTipsManager.
TScreenTipsManager shows ribbon bar context sensitive help--how can i make the "Press F1 for more help." show the context sensitive help? what i mean is that they're hovering over a certain button, see the hint, and then press F1 for more info on this button...what's ...
I am currently working with 'inherited' code that has (scattered randomly throughout) a whole bunch of conditional compiler directives based on the version of Delphi, going back to Delphi 2 . From now on, all development will be with Delphi 2009 or future. Is there a tool in Delphi 2009 , or a plugin, that will automatically remove comp...
I am trying to filter some records from a TADOQuery. I set the filtered property to true and when I set the filter to field='value', all works fine. I would like to dynamically build this filter by appending
<space>AND field='value'
to a value always true, and I thought 1=1 would do the trick. So I would have 1=1 as the default filte...
In Delphi 2009, SysUtils.pas contains this in line 425:
EProgrammerNotFound = class(Exception);
Is this simply an easter egg or something serious?
When should this exception be raised?
Does it also exist in Delphi Prism and/or Free Pascal?
Conclusion (after reading the answers so far):
This exception might appear in fun source c...
In my application, there are these data components linked like so:
DBGrid > (DataSource > ADOQuery > ADOConnection)
DBNavigator > (DataSource > ADOQuery > ADOConnection)
Whenever the user selects a different row from the DBGrid, or uses the DBNavigator, the ADOQuery's current record changes. Fine, but when the user makes some changes ...
I have been stuggling to get the MSBuild to successfully build my .dproj file for the last few days on a build machine.
First, I needed the EnvOptions.proj file from the developer's machine, which got me clear of the missing system.pas file, but now I am getting a compile error for a missing .dcu
C:\Program Files\CodeGear\RAD Studio...
During a migration of reports which contain EAN128 / Code128 barcodes to Fast Report I found that Fast Report does not use the correct symbology. The lines of a Code128 barcode are very wide so that they are perfect for long distance scanning in a warehouse. I reported it, but only received a recommendation for a third-party barcode libr...
I kept my hands off Delphi for too long, I guess; busied myself with Java and PHP a lot over the last couple of years. Now, when I got back to doing a little Delphi job, I realised I really miss the conditional operator which is supported by both Java and PHP.
On how many places would you find lines like these in your Delphi programs?
...
Hello,
I'm using a file open dialog to chose image files for further editing. The filter list contains an "All supported formats" entry which represents a long list of file formats.
Since Vista automatically appends the wildcard patterns in the filter combobox, the expanded combobox is too wide to fit completely on the screen. Besides t...
After a clean install of Delphi, what components and IDE add-ins do you make certain that you install? What's your Delphi "rig"? Here's what I install after a clean installation:
Delphi 2007 / Delphi 2010
JCL / JVCL - JEDI Code Library and JEDI Visual Code Library (600+ components)
JWA / JWSCL - JEDI API Library & Security Code Library...
Here is another question about convert old code to D2009 and Unicode. I'm certain that there is simple but i don't see the solution...
CharacterSet is a set of Char and s[i] should also be a Char.
But the compiler still think there is a conflict between AnsiChar and Char.
The code:
TSetOfChar = Set of Char;
procedure aFunc;
var
Char...
I'm working with a team for a bigger application with Delphi 2007. It use a bigger lecacy framework to access the data. Both the app and framework use String as datatype for strings. I have started to modify the code in framework to support Delphi 2009 strings, see my previous questions about this.
I see 2 alternatives now:
Alt 1 - Con...
http://forums.alliedmods.net/showthread.php?t=64767
The source acts like its missing a ton of stuff I can't find like uh TBX and some other things
I don't really know the language, but I have hoping I could get it to compile with delphi 2009/2010.net and then see about porting its IL. (to C# I guess)
The reasoning behind this is becau...
I'm running windows 7 ultimate (32bit) and have a very anoying problem with my installation of delphi.
The problem is with the feature "Code Insight" and with "Code template completion", it is very anoying when it every time i write something and it wants to complete some piece of code for me (for example i hate it when he completes the...