Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF Delphi Programming


Event conceptualization problem  

I have a big hole in my Delphi/windows conceptualization and I'm requesting two types of help with it: 1. the specific language for the concepts that addresses the type of issue I'll describe so that I can find discussions that ... Continue Reading
Views : 89
Sunday 25th of November 2012

Generating a matrix of all possibilities  

Suppose I have a variable list of records of varying length. I want to generate a matrix of every possibility. For example, if I have this list: a1,a2,a3 b1,b2 c1,c2,c3 I want to generate: a1,b1,c1 a1,b1,c2 a1,b1,c3 a1,b2,c1 a1,b2,c2 a1,b2,c3 ... Continue Reading
Views : 40
Sunday 25th of November 2012

D5 - Thread Hangs on Dual/Multi Core Processors  

Sorry reposting here from Win32 since I got no reply. Hi, We use D5 and RxLib 2.75 for an application. The RxTimer.pas has classes for creating Timers and Threads for running Animation. This application works fine on older single core ... Continue Reading
Views : 56
Sunday 25th of November 2012

D7 Directory List Box browsing  

Hello - I have a Directory List Box on my form so I can browse through and find any file I want. In running my application, I happened to be searching for my email file way down in the depths ... Continue Reading
Views : 66
Sunday 25th of November 2012

FmtStr - any advantage  

myStr: String; FmtStr(myStr, '%s', ['GoodBye']); myStr := 'GoodBye'; What do you think the advantage of using FmtStr in this case?... Continue Reading
Views : 73
Sunday 25th of November 2012

Set as integer value  

Alexander Halser wrote: $PHXGREAT I need to save a set as an integer value and I would like to convert $PHXGREAT this more easyily than I do now. The set is a set of constants, $PHXGREAT something like this: $PHXGREAT ... Continue Reading
Views : 97
Sunday 25th of November 2012

Re: D7 Repository  

Now I've got D2007. I created a new form with one button and saved this in repository. But I can't find the stuff. Where is it ? I can't find anything. "Peter Below (TeamB)" $PHXLESSnone$PHXGREAT schrieb im Newsbeitrag news:xn0fe5wdnlhgj001@newsgroups.borland.com... $PHXGREAT ... Continue Reading
Views : 54
Sunday 25th of November 2012

installing in a vm  

Sorry if this is the wrong group to post this. It's certainly not non-technical and I don't see a more to the point newsgroup but I realize it's not directly ide either except I'm trying to set up a place ... Continue Reading
Views : 38
Sunday 25th of November 2012

Vista Delphi 6 problems  

After I first installed some 3rd party components they worked fine, but once I restart Delphi they don't. I get: Can't load package C:\Program Files\Borland\Delphi6\Projects\Bpl\xxx.bpl. The specified module could not be found. Yet it is there. If I say ok ... Continue Reading
Views : 73
Sunday 25th of November 2012

Resurrecting Kylix  

In the last three weeks I have gotten so angery with Microsoft (issues relating to Vista) that I have completely abandoned anything to do with Microsoft and converted not only all of my home computers (5) to Linux but also ... Continue Reading
Views : 80
Sunday 25th of November 2012

Delphi 2007 and Quicktime Viewer under Vista Ultimate  

I had some problem at my PC, when i run Delphi and open a simple Project like "RichEdit" (Demo) und make "Run" the programm didnt run (some bad exceptions). But when i run the EXE not under Delphi it worked ... Continue Reading
Views : 41
Sunday 25th of November 2012

What causes Exception: "Privileged instruction"  

My D7.01 app threw an exception today. The e.message was simply "Privileged instruction". Any ideas what might have caused this? The code almost always runs fine.... Continue Reading
Views : 34
Sunday 25th of November 2012

Delphi 2007 can not compile a single project  

Hi: I have Delphi 2007 installed in my computer several months ago. Today it just can't compile any project even just create a new single form application. The error message shows: [DCC Error]test1.dpr(5): F2051 Unit Forms was compiled with a ... Continue Reading
Views : 121
Sunday 25th of November 2012

substitute part of a String  

is there a function to replace only one part of a string? StrReplace will replace ALL ( or the first ) pattern, but I want to substitute a String from position n for m char. oldstring := "abcdefghi"; partString:= "mn"; ... Continue Reading
Views : 33
Sunday 25th of November 2012

Re: Own path definitions like $(BDS)  

OK, I've got it.... Continue Reading
Views : 31
Sunday 25th of November 2012

TService and ServiceAfterInstall, how to auto-start  

Hello! I am trying to get a my service to start just after the install but no sucess. I tried such calls as doStart(), myService.ServiceExecute() ... sometimes I get internal error, exceptions.. If I start manually it goes fine. I ... Continue Reading
Views : 42
Sunday 25th of November 2012

idCmdFirst and idCmdLast limit in IContextMenu::QueryContextMenu  

Hi everyone, I am making shell extension dll. TTestMenu = class (TComObject,IUnknown,IContextMenu,IShellExtInit) private fFn : string; protected function QueryContextMenu(Menu: HMENU; indexMenu, idCmdFirst, idCmdLast, uFlags: UINT): HResult; stdcall; function InvokeCommand(var lpici:... Continue Reading
Views : 43
Sunday 25th of November 2012

common tasks pane on my for   

Hello , i have the following question: do you know a delphi component that look the same way than the "common tasks" pane of win XP. thank you in advance for your help, Ele.... Continue Reading
Views : 78
Sunday 25th of November 2012

Incorrect environment variable path  

After installing Delphi 2007 Win32 professioanl on XP pro with all updates, I discoved that the environment variable $BDSCOMMONDIR was pointing to a folder that did not exist It pointed to: C:\Documents and Settings\All Users\Documents\RAD Studio\5.0 When it should have ... Continue Reading
Views : 58
Sunday 25th of November 2012

CloseHandle / ReleaseMutex not working  

I have the following code (see below). The problem is that I can't get the app to release the mutex. What am I doing wrong? try getMutex; doStuff; finally deleteMutex; end; procedure TLSSessionList.GetMutex; var StartTime: TDateTime; begin StartTime := now; ... Continue Reading
Views : 77
Sunday 25th of November 2012

blob size  

how can i get the size of the data stored in a blob field? i was trying... sizeof(ibquery1.fieldbyname('picture').Value) but it always returns a 16 ive also tried sizeof(ibquery1.fieldbyname('picture').asstring) but it always returns a 4 i figure its probably the size ... Continue Reading
Views : 42
Sunday 25th of November 2012

Threading in Delphi 5  

I want to reduce the priority of a process I start in a Delphi 5 program. I read something in the newsgroups about ToolsAPI, GetPriorityClass, GetCurrentProcess, GetThreadPriority, GetCurrentThread. But I cannot find anything in the Delphi 5 help files. Are ... Continue Reading
Views : 53
Sunday 25th of November 2012

TMediaPlayer unable to play MP3 in dtAutoSelect  

I'm using TMediaPlayer and everything is working OK except when I test it on one XP computer. The error is that the player cannot recognize the file extension. AutoSelect is True. The computer has Nero, WMPlayer, WinAmp, and who knows ... Continue Reading
Views : 31
Sunday 25th of November 2012

Minor quibble with new tool palette  

How are you selecting the palette category? Are you clicking on the category to highlight it? Are you clicking on the + sign to expand it? In no case does the category I select move to the bottom. When I ... Continue Reading
Views : 31
Sunday 25th of November 2012

Createprocess and window handle  

Hi, From my delphi application I like to launch an external program (using createprocess) and set his main window parent to a panel of my application. How to get the window handle of a window if I don't know his ... Continue Reading
Views : 100
Sunday 25th of November 2012

Transactions & ClientDataSets  

Hello! I'm changing my app to ClientDataSets. So far I have only one TIBDatabase with a default TIBTransaction in a small generic DM. My question is: Should I have one TIBTransaction per ClientDataSet? I mean, should I have the following ... Continue Reading
Views : 37
Sunday 25th of November 2012

Transparent TTreeview  

JJ wrote: $PHXGREAT Hi! $PHXGREAT $PHXGREAT Is it possible to make a TTreeView component transparent? If so, how? Basically the answer is no. Windows does not really support transparency for controls. Typically a controls parent will not even paint the ... Continue Reading
Views : 72
Sunday 25th of November 2012

IDE always maximized after unlocking computer  

Every time I log back onto my computer after locking it, the IDE is maximized. This is true regardless of whether the IDE was minimized or normal (not maximized) when I locked my computer. It's kind of annoying. I'm running ... Continue Reading
Views : 43
Sunday 25th of November 2012

File or Directory  

Given a path for example p:='c:\test'; , what is the most elegant way of determining if the path is a file or a directory?... Continue Reading
Views : 54
Sunday 25th of November 2012

Rad Studio  

Since I upgraded from BDS to Rad Studio 2007 I noticed the only types of projects I can create now are Win32 and BC++. What happened to Delphi.Net? It doesn't seem to show under the project types. Thanks, Richard... Continue Reading
Views : 48
Sunday 25th of November 2012