delphi-2010

Spell Check my Delphi source code

Previously I have used Visual AssistX in Visual Studio and it had a very nice spell checking over literals. Is there something similar to Visual Assist spell checker present for Delphi as expert? It should spell check method names, class names and especially resourcestrings and literals. ...

How to return a record in a DataSnap method.

I wish to be able to declare a Data Snap method with the following signature type TLoginInfo = record Username: string; Password: string; LastLogged: DateTime; end; function GetLoginInfo(const UserId: Integer): TLoginInfo; When I try to call it it says that TLoginInfo is not well known. ...

Is there a Static Constrctors/Destructors Help topic

I know in D2010 they have added support for static constructors and destructors. Where I can find more information about they: syntax and samples? ...

Switch off the new Delphi 2010 Find feature

In Delphi 2010 a new Find bar has been added beneath the source editor. Though I sounds like a good idea I find it prettry anoying when F3 should be pressed multiple times for finding next matches. It works from time to time for me. How I can switch it off and use the old search fnctionality? ...

JVCL 2.10 and Delphi 2010

Did you try using JVCL 2.10 with Delphi 2010? I have Delphi 7 project that heavily uses DB components from that library and want to move it to new Delphi. I know that migration from JVCL 2.10 to newest JVCL version will be very problematic, so it would be better if Delphi 2010 worked with 2.10. do you have any experience? ...

Looking for a local database for D2009+

I'm trying to update a legacy app that does all its data storage in a hacked-together system of BDE Paradox files. The program works pretty well, under certain narrow conditions, but it has serious performance issues. I'd like to try and improve things by updating to a better database system. What I need is a local database, preferably...

Will Datasnap be appropriate for up to 8 non-communication intensive bi-directional multiplayer game?

I am building a small multipliplayer which will need the following: it must be written in Delphi must support Internet connection (not only LAN) work over HTTP support some encryption of the packets (it may be custom) be able to send commands to the server be able to receive responses from the server be able to connect up to 8 players ...

Is there a way to make the "Code Folding" Stay Folded In Delphi 2010

I absolutely love the Code Folding feature inside Delphi 2010. However, each time start Delphi 2010 and reopen my project the code I had peviously folded down is no longer folded. Is there a way to keep the folded code, folded when you close down the IDE? ...

How can I fix "Cannot open clipboard: Access Denied" errors?

I am using the following code to copy text to the clipboard: Clipboard.Open; try Clipboard.AsText := GenerateClipboardText; finally Clipboard.Close; end; Seemingly at random I get "Cannot open clipboard: Access Denied" errors. I'm guessing that these errors are caused by other application locking the clipboard, but I n...

Upgrade to Delphi 2010, or stick with Delphi 7 "forever"?

I am an individual user of Delphi, starting back in the early Turbo Pascal days. I have quite a bit of code developed over the years, but I have never sold software commercially or used it for business. Historically, Borland supported the non-professional users with lower cost versions, but Embarcadero does not. As I consider upgrading t...

TypeLib name in Delphi 2007

When editing a type library for a COM DLL, it appears that in Delphi 2007, the type library name is always set to the name of the project. If I go and change that name, the change is ignored and eventually resets to the project name. Back in Delphi 7 I could specify the name of the type library. What is the expected behavior? Should we...

What is the preferred method of passing data between a service and an application

Possible Duplicate: Delphi 2009: How to communicate between Windows service & desktop application under Vista? I have a server running as a Windows service. To control the service and to display it's state I have an application running as a tray icon. I would like to pass data (log strings) from the service to the application. ...

generalized request function in DataSnap 2010 ?!?

This is a client-side function i'm trying to build, more generalized, which will allow me to call different server-side procedures which return TDBXReader. Right now it works, BUT i'm facing couple of problems and i need your help: (most important) what do you think about this aproach ? any suggestions/advices ? how can i free the vLCl...

Delphi 2009 compared to Delphi 2010

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? ...

Delphi: Records in Classes

Following situation: type TRec = record Member : Integer; end; TMyClass = class private FRec : TRec; public property Rec : TRec read FRec write FRec; end; The following doesn't work (left side cannot be assigned to), which is okay since TRec is a value type: MyClass.Rec.Member := 0; In D2007 though the fol...

DreamEdit component converted to Delphi 2010

I am using the DreamEdit (source code editing) component (of which I have a license and the source). Sadly, the company behind it (DreamCompany) stopped supporting and upgrading the component some years ago. Has anyone been using this component too ? And more importantly, has anyone upgraded this component to Delphi 2009 or Delphi 2010...

FastShareMem still necessary in Delphi-2010?

Hi, Up until now I am developing using Delphi 7. In order to pass f.e. TStringLists to my DLL's I use the FastShareMem unit as first unit in every program and dll I develop. If I should migrate to Delphi-2010, Does FastShareMem still necessary ? Thanks for any insight you may provide. ...

Why Does Delphi's Math.Payment Function Return A Negative Number

I'm trying to calculate the monthly payment for the following scenario: $5,000 is borrowed for 3 years at 8.00% compounded monthly with $1,000 due at the end of the term. /* From Math.pas function Payment(Rate: Extended; NPeriods: Integer; const PresentValue: Extended; const FutureValue: Extended; PaymentTime: TPaymentTime): Exten...

Profiler able to start profiling when executing some procedure

I browsed and read a lot of questions/answers about profilers on StackOverflow, but still have one more question I haven't found an answer to. I have been using TurboPowers Memory Sleuth for years with Delphi 7 and am still very hapy with it. However, I plan to upgrade to Delphi 2010 and suspect that this program will not run anymore. ...

Anyone upgraded Turbopower's Onguard to Delphi-2010

Titel says it all: has anyone been able to upgrade The Onguard component suite from Turbopower (which is opensource) to Delphi-2010 ? I am still trying to make sure all my trusted components (which I have used for years in Delphi 7) can be compiled and used in Delphi-2010. Not an easy tasks at all. I would pay any reasonable price for...