delphi

Do you know an MVC framework for Win32 Delphi applications?

As far as I know, there isn't. Do you know any? ...

how to "spy " on win32pipe/console ?

hello, i have an application which call another console application and pass to it some parameters (console app is a video/audio coverter app) ... is there a way to programmatically "spy" or catch the passed paramters other than hooking/monitoring shellexecute/CreateThread etc ? ...

Unit Tests/TDD options that can be used for Delphi and FreePascal

I know of the existence of DUnit for Delphi win32. What I'm after is a library that works both on Delphi AND FreePascal. If that is not possible at all, I would really appreciate a list of all the options for one(Delphi) AND the other(FreePascal) ...

Delphi - Network ODBC Database (MS Access)

Hello everyone. I have a Database program which uses MS Access. The time has come and I need to make it a client/server app. The idea behind the scheme is: Server holds the database, and one or multiple clients need to access it simultaneously. The program will still need to operate under Ms Access (because porting DB and rewriting the...

What did Kylix do wrong?

With all the talk about the Delphi team working on cross-platform development, one sentiment that keeps coming up is, "I hope they do it right this time, not like Kylix." I didn't really notice Kylix when it was around, because Linux wasn't nearly as mature back then as it is now and it just wasn't an OS I had any interest in. So now t...

Delphi Search path vs Library Path vs Browsing Path

In Delphi, I can include a folder's source code by adding it to the project Search Path, or adding it to the Library Path. The Search Path applies only to the current project, while the Library Path applies to any project opened with the IDE. Other than that, is there any functional difference between the Search and Library paths? My ...

Is there a Dependency Injection Framework for Delphi or Free Pascal?

For some of my Delphi / Free Pascal projects I consider using Dependency Injection. Are there already implementations available (or in development) which provide some basic DI (IoC) functionality? Edit: I am not looking for a .NET based solution for Delphi.Net or Prism - in this case, the question would have been: which one should I pic...

In Delphi do you use include paths or explicity include all required files?

Looking at our codebase some code is included in a project explicitly and is pulled in from the search path. Does anyone have an opinion as to which is best practise and why? Update: I thought I would clarify my question. All our paths are relatives, so we can have multiple branches that all refer to code within their branches. So I'm...

How to draw on a TPanel

I need to draw on a TPanel, ideally directly so I don't have another component on top of it getting in the way of mousevent-event trapping (I want to draw a little "size-grip" on it). How should I go about doing this? ...

Why is Self assignable in Delphi?

This code in a GUI application compiles and runs: procedure TForm1.Button1Click(Sender: TObject); begin Self := TForm1.Create(Owner); end; (tested with Delphi 6 and 2009) why is Self writable and not read-only? in which situations could this be useful? Edit: is this also possible in Delphi Prism? (I think yes it is, see here) ...

What are your "Do's and Don'ts" tips?

When I'm reading SO users' comments, I read many small useful tips, so I'm opening this thread to collect such tips. For example, in this thread Oliver Giesen says: First of all: Don't pass a non-nil Owner to Create if you're going to free the objects yourself anyway. This just adds lots of unnecessary overhead. ...

Delphi: How to process multiple files?

In Delphi 2007 how can I make a program to read the first file and then close it to read the second one and so on until the last file? ...

How to stop a UI from locking up when a second form is shown?

I have a Chat program written in Delphi7. As a special "effect" we display a few bullet holes when a particular gunshot sound file is played. We did this by drawing a new form in the shape of the bmp image file of the bullet hole, with a timed delay of a few secs for it to be visible and then fade away. All of this works, however, whil...

Need Help to Converting Delphi Time to .Net Time

I am porting a Delphi application to C# and I've run into a problem. The Delphi app records the time into a log file, which then gets read back into the program. But the format of the time it records confuses me. I can find no .Net library to convert it properly. Delphi recorded time in log file: 976129709 (this gets converted to 1/14/...

Delphi component spTbxToolbar skin change.

How to change in runtime by code (not for groupskintype), the skin type for a sptbxtoolbar component. Thaks in advanced. Golo ...

1 Dimensional Nesting

Does anybody have an effective Delphi software solution for nesting 1 dimensional lengths into predefined stock lengths? ...

Delphi - How to re-enable a debugger exception notification?

I opened a project (created in D2007/08) in D2009 and it would compile but throw tons of exceptions when executed. Strange thing, but I know the project's a mess, so I want to go ahead and fix it. Well, not really fix all of it, just make it work would be enough. When I ran it, I got some Debugger Exception Notification (the little mess...

What standard does BDE use for .sch schema files?

I was wondering - is there a standard (like a RFC) for the .sch schema file format the BDE uses? The format is described here and here. It seems based on this Microsoft format, but it's not quite the same. Example 1 - VARYING format file CUSTOMER.SCH: [CUSTOMER] Filetype=VARYING Delimiter=" Separator=, CharSet=ascii Field1=Customer ...

Are there any Caching Frameworks for Delphi?

Question: What Caching Frameworks available for Delphi and how well developed are they? If there aren't any then is there a widely-accepted way of achieving the same objective? Applicable to Win32 targeting versions of Delphi. Question Detail: The type of framework that I'm enquiring about exists largely in Web Development frameworks al...

Generating a list of events in a Delphi/BCB Project.

I would like to generate a list of events and methods assigned to them in a given BCB project. Is there a way to do this? ...