Using D7, it seems random whether clicking an item and dragging the mouse
down will drag the item or select the items. Is there some way on
controlling what action it will decide to do?
I'm switching my app from a single to multi-select for the next release, and
users are use to dragging from
I didn't know that was possible. I'll investigate.
Thanks.
-Original Message-
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Paul Heinz
Sent: Sunday, 7 August 2011 4:24 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] DLL memory
My app loads 3rd party DLL's. There is a freeware 3rd party DLL I
distribute which has a memory leak in a rare situation. The DLL source is
not available.
Unloading the DLL doesn't free the RAM. I guess Windows doesn't keep track
of RAM allocations within DLL's. Is there any ability to dete
I’m basically implementing the code below. I was wondering why the
TIdText.Create and TIdAttachmentFile.Create’s don’t need to be freed. Does
this occur automatically when the mail is sent?
Ross.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Davi
Yeah, may be. Currently I've replaced the ProcessMessages with
MainForm.Update which resolves the issue well enough I think.
I don't want to make major changes as it's very stable now apart from this
issue.
Thanks anyway.
-Original Message-
From: delphi-boun...@delphi.org.nz [mailto:del
I’m about to implement an option to send an automatic email when a problem
occurs within the software. I would be interested in the final code. Save me
some trial and error.
Cheers,
Ross.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of John Bird
S
Paul,
The Timer.OnExecute I mentioned being run inside the loop excludes some of
the functions that are normally executed by the timer, as these functions
can not execute while we are waiting on the thread.
The timer cannot be idle. It's not just updating the UI but doing some
other important w
I can't remember now what problem I was having with
Application.ProcessMessages but this code fixed it while I was testing, and
had to find tune the message numbers. I failed to comment the code. I
think it had something to do with other visible non-modal forms.
I may have to re-instate ProcessM
routine then hangs for a reason I'm sure one of you will know.
Any way to resolve this?
Cheers.
-Original Message-
From: Ross Levis [mailto:r...@stationplaylist.com]
Sent: Tuesday, 2 August 2011 1:54 a.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: RE: [DUG] Why
be peeked everytime
afterwards.
Not sure which message MadExcept uses, it could well be outside of your
message ID range.
Edward
_
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Thursday, 28 July 2011 11:17 p.m.
To: 'NZ
is hanging.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Thursday, 28 July 2011 11:09 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] Why does this hang?
I'm using the following code inside a wait loop
I'm using the following code inside a wait loop so that most messages are
processed except for some mouse and keyboard messages (I think) which I
don't want to be processed. It's working perfectly here but for another
user it hangs indefinitely.
If PeekMessage(Msg, MainForm.Handle , 0, 0, PM_N
Interesting.
My AWStats for May shows IE visitors at 38.2%, Firefox at 33.1%, Chrome
18.2%. That's with 179680 hits.
IE has been steadily decreasing. In April it was 40%, March 41%.
Ross.
-Original Message-
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Be
nt.Color := clWhite;
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Tuesday, 7 June 2011 4:06 PM
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] Auto Black or White font colour
I'm hoping someone may have a rout
I'm hoping someone may have a routine which determines if the font colour
should be black or white depending on the colour of the component.
I have buttons which the user can choose the colour, but black text on a
dark colour can't be seen.
Cheers.
_
On a similar subject (off-topic),
I write my own scripts for my own website using standard ASP basically with
Notepad or the old MS-Frontpage. I don't use databases, just text files for
data storage. I chose ASP some time ago as it is similar to the BASIC
language which I can understand. I'm no
There must be methods to prevent a task being killed. My Avast anti-virus
software cannot be killed in the Task manager. It says access denied.
Probably a system service or something like that.
-Original Message-
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
I seem to have problems using FreeAndNil under D7.
Using it with a TidFTP component that has been created manually, doing this
causes an access violation.
FreeAndNil(FTP);
I had to change it to.
FTP.Free;
FTP := nil;
Any ideas why this is?
Ross.
___
on you need can be found there I suspect. J
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Monday, 21 March 2011 16:47
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] Emulate a very basic web server using TCP
I've got a TCP Client/Server app using Indy10 which communicates using my
own protocol, but I have a situation where I want to send information to a
browser using the same TCP Server using the same port, rather than
implementing a separate Indy HTTP server.
All I need is to retrieve the URL pat
List
Subject: Re: [DUG] Conditionally change name of output exe
That is what automatic build products are for.
Finalbuilder is my choice. Winner of another jolt award this year. Made with
delphi and c# (not that it really matters)
On 09/03/2011 3:58 PM, "Ross Levis" wrote:
>
Is there any facility to change the name of the exe file when compiling a
project? (D7)
I use the same source for 2 similar programs and use a conditional define to
change the behaviour. It would be nice to not have to rename the EXE
manually after every compile.
Cheers.
_
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz]
On Behalf Of Ross Levis
Sent: Tuesday, 8 March 2011 2:08 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Move mouse to ListItem
I did mean vsReport. Perhaps this was changed in later Delphi versions.
My
D7
Original Message-
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz]
On Behalf Of Ross Levis
Sent: Monday, 7 March 2011 6:49 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Move mouse to ListItem
This doesn't work in det
Re: [DUG] Move mouse to ListItem
ListView.Selected.GetPosition? Returns a TPoint.
-Original Message-
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz]
On Behalf Of Ross Levis
Sent: Friday, 4 March 2011 5:16 p.m.
To: 'NZ Borland Developers Group - Delphi List'
I plan to use that function, but need the x,y of the selected list item
first.
Jolyon's suggestion of ListView_GetItemRect looks to be heading in the right
direction.
Cheers.
-Original Message-
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Todd
Se
On a keyboard shortcut I want to move the mouse to the start of the
currently selected item in a listview. I know how to move the mouse but I'm
not sure how to get the x,y position of the selected item in relation to the
listview. Any ideas?
Cheers.
__
nformation is lost.
FTP is about recording progress and recconenting to resume.. This is useful
if you are sending large files and you may need to write/manage this
yourself.. I'm not sure as I haven't looked to see if there are any
available indy FTP style objects.
On Tue, Feb 15, 20
I'm writing a idTCPClient & idTCPServer apps which as part of their
functions will be to transfer some files. I'm using idTCPServer.WriteFile()
and idTCPClient.Read(Stream) for this purpose and it's working well.
My question is really based on a lack of understanding of TCP or how a plain
idTC
It would have ramifications for me as I validate the installation path in
the software from a registry entry written by the installer.
Hmmm.
-Original Message-
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of John Bird
Sent: Saturday, 12 February 2011
[mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Tuesday, 1 February 2011 13:30
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Validating a TListItem exists
I was hoping to avoid that. I was thinking there may be a way of validating
that it is st
at the point at
which any list items are actually deleted.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Monday, 31 January 2011 16:24
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] Validating a TListItem exis
I'm storing some TListItem's in a TList. Some of these items could be
removed from the listview at some stage. I know the items should be removed
from the TList when removed from the listview, but don't ask.
Is there a simple method to determine if a listitem reference is still valid
and exis
Yeah, I "clicked" yesterday that I should be using ClassType which is
working correctly for my purpose.
Cheers.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Jolyon Smith
Sent: Wednesday, 26 January 2011 9:11 AM
To: 'NZ Borland Developers Group - Delp
> Well, Apart from anything.. the IS command is the same as
Object.inheritsfrom..
Ah, I see. That makes sense and looks reasonably fast provided it doesn't
have to check too many ancestors.
___
NZ Borland Developers Group - Delphi mailing list
Post
Just as a matter of curiosity really, anyone know if there is any difference
in speed for these 2 operations.
if abc is TMyObject then
and
if abc.Classname = 'TMyObject' then
?
___
NZ Borland Developers Group - Delphi mailing list
Post: d
Yes. But I have done things like this.
procedure DoSomething;
begin
with MainForm do
begin
…
end;
end;
Definitely lazy.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of John Bird
Sent: Friday, 21 January 2011 3:17 PM
To: NZ Borland
lphi List
Subject: Re: [DUG] Variabels stored
Because a property hides the implementation details ... you can change to
read / write methods later with no change to the code that is using the
property. A public field exposes the implementation.
Cheers
D
On 21/01/11 00:44, Ross Levis wrote:
I
I use some global variables. I also have what I assume are other bad habits
like creating plain functions or procedures instead of declaring them inside
the form class. Just lazy.
Ross.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Jolyon Smith
Sent
I don't see the point in doing that, unless the read/write are functions or
procedures. Just make the string public.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of David Moorhouse (DUG)
Sent: Thursday, 20 January 2011 11:18 PM
To: NZ Borland Developers Gr
I found this procedure to scroll the control the mouse is over when using
the mouse wheel, not just the focused control.
procedure TMainForm.MouseWheelHandler(var Message: TMessage);
var
Control: TWinControl;
begin
Control := FindVCLWindow(Mouse.CursorPos);
if Assigned(Control) and (
that straightforward (unless your
algorithm can be adjusted accordingly).
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Tuesday, 11 January 2011 14:25
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] Maths pr
Convert the following into one line.
if High(Files) < 30 then Max := Bias.Position
else if High(Files) < 300 then Max := Bias.Position*2
else if High(Files) < 3000 then Max := Bias.Position*3
else if High(Files) < 3 then Max := Bias.Position*4
etc
I think there must be a way. Probab
I discovered that it's only within the OnSelectItem event that SelCount
appears 0. Using a 1ms Timer to display the SelCount is working, but rather
crude in my opinion.
Ross.
From: Ross Levis [mailto:r...@stationplaylist.com]
Sent: Tuesday, 4 January 2011 6:02 PM
To: Delphi Discu
In D7, I'm using a Virtual ListView (OwnerData=true) for the first time in a
project, and there appears to be a bug in the VCL. I'm hoping I can make a
fix in the VCL code if possible.
I've searched the internet and found a person asking the same question on a
forum but no one answered him.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Monday, 13 December 2010 16:19
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] Indy ConnectTimeout/ReadTimeout recomendations
I'm after minimum recommenda
I'm after minimum recommendations for ConnectTimeout and ReadTimeout for
connecting to an HTTP URL. Assuming a DSL internet connection, could these
be say 3 seconds each and not likely to abort too early in most cases?
I'm executing HTTP.Head to determine if a URL is valid but I don't want to
That sneak preview page says it creates a full Android (Java) solution so
presumably that means it creates Java code which will run on any Android
supporting Java.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Jolyon Smith
Sent: Monday, 29 November 2010 5
ection with the ability to time-out, just use a
mutex and WaitFor(TIMEOUT) instead!
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Thursday, 25 November 2010 1:52 a.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: [D
I think I've come up with a solution to provide a critical section with a
timeout, and want some feedback, particularly if you can see any problems
with it.
Firstly 2 procedures which are used to enter and leave a section.
var
CS: TRTLCriticalSection;
LockThreadID: Cardinal;
funct
It's a shame UTF-8 wasn't made the standard in Delphi. It's commonly used in
audio file tags, for example, which I have to deal with.
My software needs to search for songs with specific artists or titles, and it
sounds like I'm going to have problems where the information is visually the
same
> Length( s ) will always yield the number of chars in s.
So how does one obtain the number of bytes in a string if one wants to use
AnsiChar to check every character?
Does s[0] work?
Ross.
___
NZ Borland Developers Group - Delphi mailing list
Post
You beat me to it. I was going to say the same, that I'm interested in these
answers also. I have customers all over the world and just recently the
display of Chinese characters was desired in a non-Chinese speaking country.
So eventually I'll have to convert to Unicode.
Ross.
-Origina
Sorry, found the problem.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Wednesday, 10 November 2010 10:56 PM
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] TFormatSettings
This is really bizarre.
This is really bizarre.
I store a snapshot of all the regional settings when the program is started,
to prevent issues if the date format is changed while the program is
running. I store a couple of dates in a string using DateToStr and use
StrToDate to convert it back later.
var FS: TForm
esn't
matter what the locale is. except for making it paint properly on the
screen, or reporting.
What was the problem? ;)
On Wed, Nov 10, 2010 at 11:21 PM, Ross Levis
wrote:
> Sorry, found the problem.
>
>
>
> From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.o
Group - Delphi List
Subject: Re: [DUG] Memory allocation speed
I think that because your chunk size is constant, the memory manager just
returns previous blocks to you. So fragmentation does not occur.
On 24/09/2010 01:52, Ross Levis wrote:
Just wanted some opinions on how bad a practice this is!
Just wanted some opinions on how bad a practice this is!
I have written a media player which uses a DLL to decode audio files.
The DLL opens an MP3 file for example, and sends back decoded raw audio,
usually in chunks of 4608 bytes (~20ms), but could be a different size.
I need to buffe
I have a window in my app which needs to be set to stay on top of all
others. In D7, if a modal dialog is activated from this window such as a
TOpenFile, it appears underneath the window. I believe later versions of
Delphi resolve this problem.
I got around the issue by using SetWindowPos wit
Ah, that's different then.
The NewAC audio components have native ID3 tag editing.
http://symmetrica.net/newac
Ross.
-Original Message-
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Jeremy North
Sent: Friday, 20 August 2010 3:06 PM
To: NZ Borland D
: [DUG] MP3 file components/units
Nice set of components there. Unfortunately it only looks like it
supports writing ID3v1 tags.
http://symmetrica.net/newac/formats.htm
I will download and see, perhaps the matrix is out of date.
On Fri, Aug 20, 2010 at 1:34 PM, Ross Levis
wrote:
> Ah, tha
NewAC should be cross platform.
http://symmetrica.net/newac
Older versions worked with Kylix and Lazarus.
Ross.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Jeremy North
Sent: Friday, 20 August 2010 3:49 PM
To: NZ Borland Developers Group - Delp
I've never come across any native Delphi translations of an MP3 decoder. I
know one which uses libmpg123.dll which is open source.
Ross.
-Original Message-
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Jeremy North
Sent: Friday, 20 August 2010 12:3
I would be happy to pay twice the usual price for OS/X and Linux compilers.
I get asked a few times a month if my software works on a Mac.
Ross.
-Original Message-
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Alistair Ward
Sent: Thursday, 19 Augus
USB devices generally have unique interfaces and require specific drivers to
access them. I've got a USB thermometer here which I wrote code to access
via a DLL they provide.
Unfortunately it's nothing like RS232. You would need to find a device that
meets your needs, or just purchase a USB t
tp://www.fmi.co.nz/> www.fmi.co.nz
_
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Monday, 9 August 2010 1:32 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Determine line number from MAP
rarchy, it
served us well over the years.
I tried our utility on your map file and it can't find the address, I
suspect the linker Image Base you provided is incorrect.
Regards
Cheng
_
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of
I have written a DLL for my Delphi 7 application. It's a C compatible DLL
with no Delphi memory sharing etc.
It works fine for me and several other users, but one user is regularly
receiving an access violation in this DLL at a specific address. I have a
detailed .MAP file and I'm hoping some
I've come across the odd freeware or shareware app that cut's off part of
the text or component at 120dpi but generally I don't have any problems.
I hadn't tried 144dpi but just tried it now, and ran through several forms
in my app. Status bars have some text chopped off the bottom on y's and
I wouldn't be able to read the screen well enough if I used 96dpi. All my
computers use 120DPI.
I did have issues with my apps when I initially changed to 120DPI, and so
did some of my customers, but after disabling AutoScroll on all forms and
redesigning under 120DPI, my software appears to l
ere.
On Mon, Jun 21, 2010 at 9:56 AM, Ross Levis
wrote:
> Im using D7 and for several years Ive been using a freeware unit UseHTML
> which loads CHM files instead of HLP files when activating the help
system.
>
>
>
> As of about 6 months ago, in one of my programs, if I compile
I'm using D7 and for several years I've been using a freeware unit UseHTML
which loads CHM files instead of HLP files when activating the help system.
As of about 6 months ago, in one of my programs, if I compile it without
changing any code in the main form, UseHTML doesn't appear to be used,
I have an app that modifies the Windows\CurrentVersion\Run registry for auto
starting, and I just checked whether the app was loading elevated, and it's
not. I can tell because drag & drop from explorer doesn't work when
elevated.
Does this mean that all apps sitting in the Startup folder are aut
d := aGUID;
PropSet.Get(DSPROPSETID_DirectSoundDevice,1,
nil,
0,
@DeviceDescription,
sizeof(DeviceDescription),
lReturned);
Result := DeviceDescription.WaveDeviceId;
end;
end.
From: delphi-boun...@delphi.org.nz [mailto:delph
Surely that is security gone made. Not letting another application change
the icon of another is fair enough, but where is the security threat for an
application that created the icon in the first place!
Ross.
-Original Message-
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@d
irectSoundDevice,1,
nil,
0,
@DeviceDescription,
sizeof(DeviceDescription),
lReturned);
Result := DeviceDescription.WaveDeviceId;
end;
end.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
B
irectSoundDevice,1,
nil,
0,
@DeviceDescription,
sizeof(DeviceDescription),
lReturned);
Result := DeviceDescription.WaveDeviceId;
end;
end.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.o
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Wednesday, 26 May 2010 10:00 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Anyone with 5 minutes spare time?
If you are referring to the Clootie page, I just
phi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Wednesday, 26 May 2010 10:00 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Anyone with 5 minutes spare time?
If you are referring to the Clootie page, I just downl
". lots of libraries returned that look promising.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Wednesday, 26 May 2010 6:53 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] Anyone with 5 minutes spare
to do
things like below.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Wednesday, 26 May 2010 5:40 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG] Anyone with 5 minutes spare time?
Hi everyone.
I've n
Hi everyone.
I've never used interfaces in Windows before and I've got no idea how to do
this, so I'm wondering if someone would like to whip up a Delphi function
for me. I don't think it would take more than 5 or 10 minutes. I searched
the internet extensively and C++ code exists but nothing
Did you miss the OnPopup event? But there is no built in deactivation event
for when it’s closing, at least in D7. You would have to work out the Windows
messages for this and make your own event.
Ross.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf
List
Subject: Re: [DUG] UAC control
Do you still need an example of how to invoke an elevated COM DLL?
I can probably rustle an example up if you do.
Cheers,
C.
_
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Saturd
lphi List
Subject: Re: [DUG] UAC control
Why not just include an administrator manifest and have you
application run with administrator privileges all the time.
On Sun, May 2, 2010 at 12:53 PM, Ross Levis
wrote:
> Relaunching is not really an option, as it could be playing a media file
at
>
Relaunching is not really an option, as it could be playing a media file at
the time a user could ask for a specific change which requires elevated
access.
What I may need to do is write all the code into my elevated app and use
command-line parameters to execute the code and send the required inf
UG] UAC control
If you can get it working using sockets, then this should work also.
I've never seen named pipes blocked by a firewall
Paul
- Original Message -
From: Ross Levis <mailto:r...@stationplaylist.com>
To: 'NZ Borland <mailto:delphi@delphi.
.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] UAC control
A listening socket is normally blocked by firewalls and virus scanners.
Use named pipes instead.
Paul
- Original Message -
From: Ross Levis <mailto:r...@stationplaylist.com>
To: delphi@delphi.
I'm back to this subject again.
I released a new version of my software using the TCP server/client method
to communicate with a separate elevated app where I do my HKLM writing etc.
But this is turning out to be a nightmare with firewalls.
The proper method is to write a DLL which does som
There is no problem at all using this function in multiple threads if you
don't need to change the Format Settings. To quote from the D7
documentation.
The first form of FloatToStrF is not thread-safe, because it uses
localization information contained in global variables.
If you did chang
I often use the Object property of listbox and TStringList items to store
pointers, or just numbers for array subscripts. I don't see any problem doing
that as it can save a lot of time. It is just an integer variable internally.
I seem to remember coming across the same problem once (D7) and
. Without the
parameter, the program does load minimized after the splash screen
terminates.
Ross.
From: Ross Levis [mailto:r...@stationplaylist.com]
Sent: Saturday, 30 January 2010 12:30 a.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: ShellExecute with SW_SHOWMIN
>From a Delphi app I'm wanting to load another Delphi app minimized without
affecting the focus of the current app. But the ShellExecute function seems
to be ignoring anything I put in the ShowCmd parameter. SW_SHOWMINNOACTIVE
should do just what I want but the app appears normally on the screen.
Don't seem to need that. Perhaps because there are no windows.
-Original Message-
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Edward Koryagin
Sent: Tuesday, 26 January 2010 2:08 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG
d the VCL do, so in proportion
that addition is likely to be negligible).
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of Ross Levis
Sent: Tuesday, 26 January 2010 1:18 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] man
Initial results are looking good, thanks Xander! Initially I had to "Use"
the Controls and Messages units, which bloated the exe again. But went
through and found the required constants. I'll post these here in case it
is useful for someone in the future reading the archives.
const
WM_QU
Using D7, mine grows from 100k to around 500k. The size is important for
loading speed and also the final installer package size. Since my software
is download only, I always try to keep the download size as small as
possible.
Ross.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun..
Tried that already. Just Using Forms and not even using any function
increases the size by 5 times.
Ross.
From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On
Behalf Of John Bird
Sent: Tuesday, 26 January 2010 9:55 a.m.
To: NZ Borland Developers Group - Delphi List
S
My registry app I mentioned a few days ago is non-visual with no forms, and
Forms is not included in the Uses clause.
In attempting to use a TCP socket system I've discovered that I need to
arrange for Windows messages to be processed otherwise the TCP buffers never
get any data. I don't want
mple as you can get for communicating.
On Tue, Jan 19, 2010 at 2:13 AM, Ross Levis
wrote:
This is not strictly Delphi related but hope someone can help.
Since Vista came out I've been using a small program I wrote with a manifest
to give it elevated privileges, so I can write to th
1 - 100 of 363 matches
Mail list logo