Hi, everytime i write a resource file (.rc) and drop it over the bcc32.exe, nothin happens. if i drop it over rc.exe, it gives me a .res file, which doesnt work in delphi.
so what do i have to write in the .rc file, to get my .res built correctly at the bcc32?
(example pls)
lets say i wanna have abc.wav, which is on my desktop.
thanks ...
I am trying to use a TLinkLabel on a TPageControl, and I can't find a way to make it use it's parent's background.
So, in XP, I get this:
As you can see, the parent tab sheet's lovely gradient is not preserved behind the link text.
I would like the functionality of having multiple links in a flowing block of text (the functionality...
I have an older application (written in Delphi 6) that has to be ported to Delphi 2006 (update 2). The application used to connect to an Interbase 6.x database using DBExpress, but the new version needs to connect to a Firebird 2.x Superserver.
Porting went OK, no real problems. But now, when I try to connect to the new Firebird server ...
Hello,
I am using main form and child forms.
If I open 2nd child form with
TMYForm.Create(nil);
It does not stack it on the 1st child form top.
Is there any way for 2nd and X'th child form to appear in exact same position as 1st child form?
Or I need to destroy old child form while creating new one (as stacking is done automaticall...
I have an Asp .net page like this simple one http://issamsoft.com/app2/page1.aspx
and I want to post to it some data and extract data from the response,
by using TIdHttp. I tried to do that in Delphi2009 like this:
Procedure TForm1.Button1Click(Sender: TObject);
Const
VIEWSTATE = '/wEPDwUKMjA3NjE4MDczNmRkSxPt/LdmgqMd+hN+hkbiqIZuGUk=';
...
Hi there.
I have this method,
var
s : TStringList;
fVar : string;
begin
s := TStringList.Create;
fVar := ZCompressStr('text');
ShowMessage( IntToStr(length(fVar) * SizeOf(Char)) );
//24
s.text := fVar;
ShowMessage( IntToStr( length(s.text) * SizeOf(Char)) );
//18
end;
The ZCompressStr is from http://www.base2ti.com/zlib.htm with...
Is there a website or documentation that details the changes made from each version?
Say, D7 -> D2005 -> D2006 -> D2007 -> D2009
Language features?
DB features?
RTTI?
IDE?
...
Is there a better way than examine them pixel by pixel?
...
I need to write a DLL (using Delphi) which is dynamically loaded into delphi applications and makes RTTI queries (typical operation is to obtain string values for control properties).
The classic problem is that passing strings (and objects) between application and DLL is problematic due to different memory managers used in both (this mi...
Hi,
I'm using Delphi7 (non-unicode VCL), I need to store lots of WideStrings inside a TFileStream. I can't use TStringStream as the (wide)strings are mixed with binary data, the format is projected to speed up loading and writing the data ... However I believe that current way I'm loading/writing the strings might be a bottleneck of my ...
hello all Friend...
How to create a transparent Non-rectangular button with delphi?
I Need Urgent Help.........
...
The software is built on Delphi 7.
On my XP machine, the form resizes as I expect. However, on two Vista machines, I have components with anchors set to [akLeft, akTop, akRight, akBottom], but when I resize the form, the components don't stretch with the form, leaving blank spaces on the right and bottom edge. On the XP machine, the com...
Hi,
Anyone have the working code to search shapes using buffer on all layers? I see the example code in TatukGIS only work when searching on 1 layers, what i need was something like their TatukGIS Viewer that can search shape(s) in all layers when using buffers
Thanks
...
Hi guys,
I recently bought Bob's book Delphi XML, SOAP & Web Services
in page 85 of this book the (Delphi 2006 8used) comes with several New Item Categories such as
C# Projects
C++ Builder projects
Delphi for .NET Projects
something that you don't have in a fresh installation
I need this ASP.NET Web Service Application that is ins...
Is there any way to cancel or abort form creation from within the form's OnCreate event handler or C++Builder constructor?
Basically, I'd like to be able to call Close() from OnCreate or from the constructor and have it skip showing the form altogether. I have several forms that as part of their initialization may determine that they...
I want to monitor the copy file function using Delphi.
I can do it in windows explorer with shell notifier.
My problem is when copying file with the command prompt.
How can I monitor the progress of a copy file operation that has been initiated at the command prompt, using Delphi?
...
When dealing with a series of numbers, and wanting to use hash results for security reasons, what would be the best way to generate a hash value from a given series of digits? Examples of input would be credit card numbers, or bank account numbers. Preferred output would be a single unsigned integer to assist in matching purposes.
My ...
I´m using Delphi 7 with devart dbExpress to connect to SQLServer.
The problem is that when I add a bigInt field to a ClientQuery it comes as TFMTBCDField.
And the TFMTBCDField don´t have a method to get the 64 bit value.
I can use the Field.AsVariant or the StrToInt64(Field.AsString) to pick this 64 bits value.
Is there a better way t...
I have lots of components installed - trouble is when I want to find one I rarely use it takes ages to find it. I can look at the ALL choice which lists all components but finding one with say 'grid' in the title is still very time consuming. Is there a database of titles or (preferably) a text file I could interrogate and search?
...
I have an TUpDown control whose Associate is set to an instance of a TEdit subclass. The edit class calls RecreateWnd in its overriden DoEnter method. Unfortunately this kills the buddy connection at the API level which leads to strange behavior e.g. when clicking on the updown arrows.
My problem is that the edit instance doesn't know t...