Whenever I stop the Galileo IDE from Delphi 2006 under Vista, I get
Microsoft Windows
Borland® Developer
Studio for Windows has stopped working
A problem caused the program
to stop working correctly. Please
close the program.
[Close the program]
followed by some dialog by data execution prevention. Even excludi...
Hi, I've got something happening with a little app that I made that I don't understand what the problem is. The app is just a little texted panel clock that sits above the taskbar on the second monitor. Settings are saved via inifile in the proper appdata folder, and the specs are saved properly, i.e. X and Y location, font, font style, ...
Hi,
On setting "Use debug .dcus" option to True in project options, method calls in my application does not work as expected.
Say for example,
I call a method func(a, b, c);
In the "func" definition c's value is assigned to "a" and a's values is assigned to "c" and everything goes crazy.
I tried to create it in sample application,...
A few weeks ago I lost my passwords for msn and more importent my company email, which change every 30 days or something, they are annoying because of there lengh and a I dont like writting them down.
Anyhow I downloaded a so called password recovery tool and it worked well, but then spammed me for days with ads.
My question is, how can ...
How would I go about turning the microphone on and open some kind of a live stream to listen to whats happening on my PC in another location? It's going to be a baby-monitor project.
Any ideas on the way I should do this? I am only really after code to do the task. I can do the rest. I am learning Delphi so I should be okay.
I would al...
Here is code:
procedure DisableContrlOL(const cArray : array of string; ReEnable : boolean = False);
// can be called from VKP / RAW / Generation clicks
var
AComponent: TComponent;
CompListDis, CompListEna : TStringList;
begin
CompListDis := TStringList.Create;
CompListEna := TStringList.Create;
for i := Low(cArray) to High(cA...
Mercifully brief for once, from me - hopefully the title says it all. I have some unicode .html files that I want to display inside a THtmlViewer component, in Delphi.
I can't seem to persuade the code to work just doing '.LoadFromFile' - do I firstly need to load the unicode file into a stream and then somehow convert it?
Delphi 200...
I have a GLScene object of varying, but known size. It is completely surrounded by a TGLDummyCube.
I want to position the GLCamera (CameraStyle: glPerspective) so that the object is completely visible on screen. I got this running basically - the object is visible, but the distance is sometimes too far, or the object is larger than the ...
My question follows on from the answer in
http://stackoverflow.com/questions/235498/how-to-create-a-button-with-drop-down-menu
I am trying to duplicate the behaviour of the "Office Button" found in the top left hand corner of the Mircosoft Office 2007 UI; in particular where the user clicks on the button, the popup menu appears and the...
Hello,
I have total 4 radiobuttons on my form,I want to set the first two buttons in one group and the second two in another group so that I can check one from the first group and one from the second group.
Right now,if I check one from the first group,the one from the second group becomes unchecked.
I've always wondered how to do thi...
Hi, I'm having a problem understanding VFI in Delphi2009. If I change my layout in the baseform, those changes are not propagated to the inherited form. For example, replacing a DBNavigator in the baseform with buttons has no effect on iherited forms. Is there any way to accomplish this? Or do I have to re-implement all my iherited fo...
I've got a program that's having some trouble during shutdown, raising exceptions that I can't trace back to their source. It appears to be timing-related and non-deterministic. This is occurring after all shared resources have been released, and since it's shutdown, memory leaks are not an issue, so that makes me wonder if there's any...
Hi,
I want to prevent Windows XP from powering down as long as my Delphi app is running, and I tried the following:
procedure TForm1.FormCreate(Sender: TObject);
begin
SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, 0, nil, 0);
SystemParametersInfo(SPI_SETPOWEROFFACTIVE, 0, nil, 0);
SystemParametersInfo(SPI_SETLOWPOWERACTIVE, 0, n...
Hi,
I'm using TJvPluginManager to build simple application with ability to load .bpl plugins. I have common interfaces declaration in "uIntfs.pas" file, which is kind of SDK ;)
The problem is, that if I try to load more than one plugin, the app throws an error:
Cannot load package 'test2'. It
contains unit 'uIntfs,' which is als...
Hi,
can anybody hint me a good, free Delphi logging framework? It should be easy to use and it should support different "log writers" including plain text, database and network.
...
var Buffer: TMemoryStream
The code:
Move((PByte(Buffer.Memory)+Buffer.Position)^, Buffer.Memory^, Buffer.Size - Buffer.Position);
Unfortunately this is not possible: Operator is not applicable to this type of operand.
So how can I get the starting point of a MemoryBuffer?
...
How can I achieve a synchronization structure like that:
Lock.BeginRead
try
if Changed then
begin
Lock.BeginWrite;
try
Update;
finally
Lock.EndWrite;
end;
// ... do some other stuff ...
end;
finally
Lock.EndRead;
end;
without loosing the read lock after the EndWrite, so that no other writers...
I have a problem with maintenance on an old Delphi program (D7). A lot of the program logic is in the DPR file (this is not a windowed program), with some units providing things like access to the database. We need to get some debug out of the DB unit, but the debug functionality is in the DPR. We can't easily strip the debug functionali...
Hi
I'm looking for an application that will allow me to add mark-ups to pdfs just like adobe acrobat does via the comments option (e.g. stickynotes), including the options of hiding all comments, showing, printing and saving them to the pdf. My application is written using delphi 2009 and this is an additional feature I require.
There d...
Hi all,
is there a way to make the Delphi compiler recognize and report duplicated function names (especially defined in different Units that the currently compiled unit uses)?
...