delphi

How to persisting objects in Windows XP / Delphi 7?

Possible Duplicate: Persistent Objects in Windows XP/Delphi 7 Hi every body: I am deployment an Alarm System, and I have to registered alarms in a database. What happens if the connection to the database is broken?? I think to persist objects is a good idea: persist all alarms and when connection is restablished, register the pe...

Freeware "Structural Highlighting" for Delphi 2007 IDE

I'm in the middle of sorting out a nested set of if/then begin/end pairs, and missing the heck out of CodeRush's structural highlighting (which I used to have in Delphi 6, and loved). Is there a freeware IDE add-in out there that will accomplish the same for Delphi 2007? Note: I know Castalia does this as well. I tried Castalia a whil...

Delphi data structures

I maybe need to do a project in Delphi and are a beginner in that field. Currently, I am searching the net for ressources and get confused because there are so few resource sites. First of: can you give me some good websites with resources for Delphi I missed so far? I was also searching for data structures in Delphi and was wondering ...

Delphi & Doxygen

Hi, I wanted to document my source using doxygen + pas2dox. When I set everything up, including the filter and the extraction options (extract everything), doxygen runs fine. But the generated documentation only includes the source-files as links and no types/methodes were extracted. The filtered source looks fine though. Any hints how...

Persisting more than one object in Delphi 7

This is not a duplicate but a follow-up to "Persistent Objects in Windows XP/Delphi 7." I need to persist more than one object in Delphi 7, and the objects are a class family. RRUZ's answer suggests I inherit from TPersistent and use TJvAppXMLFileStorage, but when I use its WritePersistent method, it overwrite one object with the next o...

How to pass and return objects to and from a DLL?

Hello everybody... I need to return objects from a DLL made in Delphi, to an app made in Delphi, too. The objective is to do a subsystem that can be modify in the future without to modify the main app. So, I imagine developing the subsystem in a DLL is a (good??) idea... i am programming in Windows XP, Delphi 7. I did read DLLs only ret...

Delphi Package: Systools - I Need It!

Any chance someone out there still has SysTools 3 Components (S303_D60.bpl) It's was supposedly used at some point on the project I'm working on, but I can't find locally or on the web. Thanks, -nomad311 ...

How does Delphi Retrieve index for IndexName property of TTable?

Dear Gurus: Here is a question about how Delphi querys the indexes from another schema in Oracle(10.2.0.4). The follow is the scenario: There is a primary key(says myTablePK) of table "myTable", owned by A user, and my Delphi app. logons as B user who switches itself to A schema by setting CURRENT_SCHEMA=A on AFTER LOGON trigger. To id...

How to port delphi library to Win CE?

I have a win32 library (DLL) project that was originally written in Delphi. It was used in various application and is working fine. Now I need to use same functionality in Win CE applications. I understand that same DLL cannot be directly used. What are my options to port the code to Win CE? ...

Is There An Efficient Whole Word Search Function in Delphi?

In Delphi 2009 or later (Unicode), are there any built-in functions or small routines written somewhere that will do a reasonably efficient whole word search where you provide the delimiters that define the word, e.g.: function ContainsWord(Word, Str: string): boolean; const { Delim holds the delimiters that are on either side of the ...

How do I use DoMouseWheel to scroll a line at a time?

I've written a grid control and would like to add support for the mouse wheel to it. I thought it would be as simple as overriding the DoMouseWheel virtual method, but there is a bit of a problem with it. You can set the number of lines to scroll at a time in Control Panel and the default there is three. And this makes perfect sense whe...

Quick padding of a string in Delphi

I was trying to speed up a certain routine in an application, and my profiler, AQTime, identified one method in particular as a bottleneck. The method has been with us for years, and is part of a "misc"-unit: function cwLeftPad(aString:string; aCharCount:integer; aChar:char): string; var i,vLength:integer; begin Result := aString; ...

Is that possible to run IIS's w3wp.exe in limited user account?

Hi, I am using Windows 7 and IIS 7. I am writing Delphi DataSnap ISAPI. I wish to trace bugs occurs in my ISAPI dll. I learn using "w3wp.exe -debug" may help to debug ISAPI dll in Delphi IDE. However, I wish to debug my ISAPI in limited user account instead of administrator group. I have set access right to folder "C:\Windows\Syste...

Developing nested applications

We're looking at moving our multiple database applications to a single platform - possibly web based. The Model that we've been thinking of is to have a number of nested applications something like this: 1) Have a "Side bar" which manages the basic navigation of the applications, searching, etc. 2) Making a selection in the sidebar ...

Deploy Delphi ISAPI dlls compiled with runtime packages

Hi, I have a ISAPI application written with Delphi. The application is compiled with runtime packages. Basically, all related bpls should deploy to an ISAPI enabled directory as well in order to get the ISAPI dll works. However, I always face errors when invoke ISAPI dll. If my ISAPI dll doesn't compile with runtime packages, then i...

Charting recomendations for Delphi

I'm looking for a decent charting library to use with Delphi 2010. We dont want to require additional framework be installed on client PCs, so would like to avoid toolkits that use .Net, Java or Flash. The chart types we need are pretty straight forward (2D and 3D pie/donut, bar, line), but the customer wants to have attractive charts ...

Registry access in non-admin mode

I've several long-standing apps written in Delphi that persist their settings in the registry. I've used HKEY_LOCAL_MACHINE for 'hard' settings such as configuration preferences and HKEY_CURRENT_USER for 'soft' info such as window positions, MRU lists etc. Now my users are telling me that in non-admin (standard user) mode the apps dont ...

Delphi MDI Application Next Window menu item

How would I go about implementing the Ctrl+F6 Next Window action in the Windows menu for an MDI application in Delphi 7? ...

Delphi 2010 - package problem, File not found error

I have a problem with a application with plugins. Originally, everything was compiled into a single exe, but now, I want to take out some of the code into a bpl on its own. The code that is shared by both the exe and the new bpl is put into a third bpl. application.exe is compiled with package api.bpl api.bpl contains only one file, ap...

onKeyUp Delphi skipping ever other occurrence

Am using TJvUltimGrid, when pressing either the up or down arrow, to move from one record to the next, the event fires every other press. Does anyone have any ideas why it does not fire on every press and what I can do to fix it? The dataset is a TADODataSet. The onKeyDown fires on every press. REF: Delphi 2010 with Jedi JVCL Version ...