In our applications, we display a webpage in a TWebBrowser component.
After installing IE8, some of our application started to stop responding on closedown.
We have found the following to be true:
It only freezes if the webpage have been shown
Which application that freeze, depends on what url is shown. If we switch url between two a...
I've seen different lists based on Adam Markovitz's (http://web.archive.org/web/20060213081516/http://blogs.borland.com/AdamMarkowitz/archive/2005/12/15/22523.aspx) like here or on Delphi Wiki, this other one from DelphiMiracles, or this table from Steve Trefethen.
And they are all somehow different.
Is there somewhere a comprehensiv...
In Delphi 7, I have a TMainForm.FormClose procedure that is intended to write out some status whenever the program exits. This works fine when manually closing the program.
However, I discovered that if the program is "forced" to exit by Windows (for example after Windows Update that requires a reboot), the FormClose procedure is not cal...
hi..I'm new to this site and I hope someone can help me with my problem.
I am using a Delphi language. And I would want to play a memorystream to windowsmediaplayer ActiveX. Is this possible? If it is, can someone give me a hint or something.. sample code maybe. Thanks.
...
I'm using delphi6, and it lacks the following abilities:
a library object,
a list object(looks like TList,TStringList is good enough?)
a algorithm library(like sort,)
template library like STL
dynamic language feature or GC.
and so on.
how can I find this things?
...
I have the following Delphi function:
function DoX(const InputBuffer: Pointer; const InputBufferSize: longword; OutputBuffer: Pointer; var OutputBufferSize: longword): longbool;
The OutputBuffer and OutputBufferSize would be set in the function as part of the result, with a boolean return to indicate whether the method was successful ...
I'm writing some software that targets two versions of very similar hardware which, until I use the API to initialize the hardware I'm not able to know which type I'll be getting back.
Because the hardware is very similar I planned to have a parent class (TParent) that has some abstract methods (for where the hardware differs) and then...
Hi,
The following code works fine in Delphi 7. However, in Delphi 2009 the form does remain hidden but the button on the taskbar is now appearing.
ShowWindow(Handle, SW_HIDE);
SetWindowLong(Handle, GWL_EXSTYLE, GetWindowLong(Handle, GWL_EXSTYLE) or WS_EX_TOOLWINDOW );
ShowWindow(Handle, SW_SHOW);
The above code is called in the FormC...
In a Delphi 7 application, I want to move a component accordingly to the mouse.
Im doing something like that:
procedure MyComponent.MouseMove(Sender: TObject;Shift: TShiftState; X, Y: Integer);
begin
AnotherComponent.Top := X;
AnotherComponent.Left := Y;
end;
When I move the mouse the CPU usage for the main core goes up to 100% on...
I am using a .Net2.0 Assembly in Delphi 6 via COM.
One of the methods in one of the interfaces returns IEnumerable.
As long as I import mscorlib.tlb located in
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"
, I can reach both IEnumerable and IEnumerator interfaces in Delphi 6. Here is the part where IEnumerable is defined in mscorlib...
I'm building a Delphi component to embed an SDL rendering surface on a VCL form. It works just fine as long as the form is on-screen at the moment that the SDL surface is created. Otherwise, it's not able to create any rendering textures.
I traced into the SDL code and ended up with the following function call, which fails (returns NUL...
I'm looking for a (fairly pain-free) means of adding some Windows Application Event-Log support to a small legacy Delphi 5 application. We just want it to log when it starts-up, shuts-down, fails to connect to a database etc.
Several of the solutions/components I've seen seem to suggest that we'll need to make a resource DLL which the ...
Who provides the better solution for this particular component?
...
In the GUI test runner, the menu items for memory leak checking are
inactive (grayed out). Is there a special switch I have not found yet to
activate them?
Using DUnit 9.4 (from Delphi 2009 or from the sourceforge Subversion repository) and
FastMM4.92
...
Exists in Delphi something like the Java or C# StringBuilder? Or Delphi does not need StringBuilder and s := s + 'some string'; is good expression (mainly in for, while loops).
...
TVirtualTreeview is pretty much awesome, but many times when I close an window referenced by a DLL in my project that has a TVirtualTreeview in it I get the NTWaitForMultipleObjects error.
The problem is somewhere deep in TVirtualTreeview and other guys in the office have tried lots of stuff to fix it, I was just wondering if anyone e...
Finding dead code in Delphi is usually real simple: just compile and then scan for routines missing their blue dots. The smart linker's very good about tracking them down, most of the time.
Problem is, this doesn't work for event handlers because they're published methods, which (theoretically) could be invoked via RTTI somehow, even t...
We are creating an open source Twitter client and are looking for an embedded DB with the smallest footprint possible that works with Delphi and that lends itself well to full text search (I know that doesn't go with small footprint very well). Ideally it should be free or open source too (demanding I know).
I am leaning toward SQLite...
When setting the Required property of a IntraWeb control I get a nice little message box saying "Bezeichnung is a required field" if I leave it blank.
How can I change the Text of those messages?
(My application is in german language)
...
Hi
I am looking for a data aware Tree View for delphi
what is the best one to use ?
...