I try to use Google map API from a Delphi Application. I got a good start from my other question Use Googlemap from my Delphi application ?.
Now I found TEmbeddedWB and I wonder if there are any advantages over the builtin TWebBrowser component. Both are interfaces to Internet Explorers DLL-files and seems to do similar things? I don't w...
Any one know a way in delphi get a simple list (eg tstrings) of the local ip address.
I have had a look at the other related question, and cant seem to get my head around converting them to delphi.
...
We have a Delphi 5 application, that is built without runtime packages, dlls or external resources (i.e. a single executable). when we install it on a clients PC we get the following error messages:
Class TListView not found
or
Class TImage not found
We have installed it on dozens of PCs before without incident, but this late...
As per title - can anyone help me?
...
This is something I ran into last year, and SO seems like a good place to document it :)
Q: When automating Excel (/Word/...) from Delphi, how can I check if an Excel function returned the variant Nothing (as it's called in VBA)?
...
I want to add a button to Win Exp. toolbar and run a script file with the button. How can I do it in Delphi? Or may be Win API?
...
We have recently moved to Delphi 2009. I can't find the TShellListView and TShellTreeView controls. Do I need to install something extra?
From searching the web it seems they are shipped with Delphi 2009 but for some reason they havent been installed.
Has anyone had a similar problem?
Update:
This is so unbelivably idiotic. It ap...
I want to use Vista Large Icon feature in my Delphi 2009 application, but I can only embed the normal 32x32 icon in my application. How can I make application have many sizes of Icons?
Thanks
...
I'm trying to write a custom TGraphicControl descendant that will allow a user to embed a SDL rendering surface on a VCL form. This will provide a simple way to display SDL animations in a form.
Apparently a TGraphicControl is redrawn with the Paint method. How often does this get called? Is it only when something happens to invalida...
How can I get the summary information for file images in Delphi?
...
I am trying to create a generic list class for use with tiOPF (an Object Persistence Framework for delphi @ www.tiopf.com). Specifically I am trying to take an existing generic class (TtiObjectList) and make a generic version that uses TtiObject descenants.
I have limited scope for altering the base classes as they need to compile und...
Class completion in Delphi is a big time-saver, but I haven't found a way to customize it.
I would like a getter and setter for a property to be grouped together instead of being thrown all over my unit; The interface part is generated properly, but the implementation section becomes a mess if you leave things up to the IDE. I want met...
There is a problem I am unable to solve. I created two service applications in Delphi and tried to post messages within them. Of course, there are no windows in such applications and PostMessage needs a window handle parameter to send a message.
Therefore, I created a window handle using the AllocateHWnd(MyMethod: TWndMethod) function ...
I want to make a custom VCL control that wraps a SDL rendering surface via the SDL_CreateWindowFrom function. SDL_CreateWindowFrom takes an existing HWND handle and puts a high-performance rendering context (it has several backends available, including DirectX and OpenGL) onto it.
The helpfile says "Do not refer to the Handle property ...
Delphi components have CreateWnd and CreateWindowHandle (and DestroyWnd and DestroyWindowHandle). They're both intended to be overridden by descendants, right? And not intended to be called except by the underlying VCL implementation?
What's the difference between them; when should either of them be overridden?
...
i have a very interesting problem.
background
i've used TTreeView for years but only now am using it with a docking library (from AutomatedQA). i've learned that when the parent of the TTreeView is changed, all the handles are recreated. this is something the docking library does during normal activites.
i've been using the Data p...
I need to use a DLL created using .NET framework. This DLL is made COM visible.
I want to use this DLL in an application created using Delphi 2006. I have followed following steps:
Registered the DLL using regscr32.
Imported the type library using
Delphi IDE. It created
_TLB.pas file. Following signature was created in TLB file.
fun...
The following code throws an EZDecompressionError with message 'Invalid ZStream operation' whenever the line
Reader.Free
is executed. Can someone tell me what's wrong with this code?
Reader := nil;
Decompressor := nil;
InputFile := TFileStream (FileName, fmOpenRead);
try
Decompressor := TDecompressionStream.Create (InputFile);
Re...
I'm using Delphi 2007, and I am looking for some newer looking glyphs to add to my TBitBtns. Honestly, I'd love something that looks more like the Tango Desktop or KDE4, when it comes to the glyphs.
If I can't find anything else, I'll just use the Tango icons, and convert them to *.pcx or *.bmp.
However, I'm curious if anyone knows of ...
i have a TOpenDialog component i am creating on runtime and i want to disable the hint that pops up over files when it is used. i have not written any exrta code for this than creating the object, executing the object and extracting the filename,, then freeing the instance.
can i do what i want to do? if so how do i do this
...