You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _software/consoleapp.html
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -27,10 +27,10 @@ <h2 class="panel-title">
27
27
</div>
28
28
<divclass="panel-body">
29
29
<p>
30
-
The <em>Console Application Runner</em> classes are designed to be used to control the execution of child console application processes. There are two classes: a class named <var>TPJCustomConsoleApp</var> that is provided a base class for user-defined sub-classes, and <var>TPJConsoleApp</var> that is used to provide a general way to run and manipulate console applications. Both classes are provided in a single unit, <var>PJConsoleApp</var>.
30
+
The <em>Console Application Runner</em> classes are designed to be used to control the execution of child console application processes. There are two classes: a class named <var>TPJCustomConsoleApp</var> that is provided as a base class for user-defined sub-classes, and <var>TPJConsoleApp</var> that is used to provide a general way to run and manipulate console applications. Both classes are provided in a single unit, <var>PJConsoleApp</var>.
31
31
</p>
32
32
<p>
33
-
The classes enable the console application's standard input, standard output and standard error to be redirected to and from files or pipes. They can also timeslice the running of the console application to enable the calling application to continue processing and to enable redirected piped output to be processed.
33
+
The classes enable the console application's standard input, standard output and standard error to be redirected to and from files or pipes. They can also timeslice the running of the console application to enable the calling application to continue processing in parallel and to enable redirected output to be processed.
<divid="deleted-code" class="collapse callout callout-danger"><!-- begin collapsible #deleted-code section -->
60
60
<p>
61
-
As of v3.0 the <var>TPJPipe</var>, <var>TPJPipeFilters</var> & <var>TPJFileHandle</var> classes were removed from the project into a separate project: <ahref="{{ site.base-url }}{{ site.data.core.software-base-url}}/ioutils.html">I/O Utility Classes</a>.
61
+
As of v3.0 the <var>TPJPipe</var>, <var>TPJPipeFilters</var> & <var>TPJFileHandle</var> classes were removed from the project into <ahref="{{ site.base-url }}{{ site.data.core.software-base-url}}/ioutils.html">I/O Utility Classes</a>.
62
62
</p>
63
63
</div><!-- /#deleted-code -->
64
64
</div>
@@ -136,7 +136,7 @@ <h2 class="panel-title">
136
136
The simplest way is to add <code>PJConsoleApp.pas</code> to your projects as and when you need it.
137
137
</li>
138
138
<li>
139
-
To make the unit easier to re-use you can either copy it to a folder on your Delphi search path, or add the folder where you extracted the units to the search path. You then simply use the units as required without needing to add them to your project.
139
+
To make the unit easier to re-use you can either copy it to a folder on your Delphi search path, or add the folder where you extracted the unit to the search path. You then simply use the unit as required without needing to add them to your project.
140
140
</li>
141
141
<li>
142
142
For maximum portability you can add the unit to a Delphi design time package. If you need help doing this <ahref="http://delphidabbler.com/tips/106" aria-title="see a tip on working with design time packages">see here</a>.
Copy file name to clipboardExpand all lines: _software/dropfiles.html
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ <h2 class="panel-title">
74
74
Some design time assistance is provided by component and property editors.
75
75
</p>
76
76
<pclass="alert alert-warning glyph">
77
-
For security reasons in Windows Vista and later, drag/drop is disallowed between windows with different security permissions. This means that applications that processes drag and drop may not be able to receive files dragged and droppped from another window if the security permissions are not compatible.<strong>This is not a bug.</strong>
77
+
For security reasons in Windows Vista and later, drag/drop is disallowed between windows with different security permissions. This means that applications that processes drag and drop may not be able to receive files dragged and droppped from another window if the security permissions are not compatible.<br><strong><spanclass="fa fa-times-circle fa-x-pad-right" aria-hidden="true"></span>Please do not report this behaviour as a bug<spanclass="fa fa-times-circle fa-x-pad-left" aria-hidden="true"></span></strong>
<var>TPJDropFiles</var> notifies Windows that it accepts file drop operations by using the <var>DragAcceptFiles</var> API call. It then responds to <var>WM_DROPFILES</var> messages sent by Windows whenever files are dropped on its window.
144
144
</p>
145
145
<p>
146
-
<var>TPJFormDropFiles</var> and <var>TPJCtrlDropFiles</var> act in a similar way to <var>TPJDropFiles</var> except that they subclass an associated window and respond to <var>WM_DROPFILES</var> messages on the window's behalf. <var>TPJFormDropFiles</var> subclasses its owner form while <var>TPJCtrlDropFiles</var> subclasses the window of an associated <var>TWinControl</var>. These last components derive from a common abstract base class.
146
+
<var>TPJFormDropFiles</var> and <var>TPJCtrlDropFiles</var> act in a similar way to <var>TPJDropFiles</var> except that they subclass an associated window and respond to <var>WM_DROPFILES</var> messages on the window's behalf. <var>TPJFormDropFiles</var> subclasses its owner form while <var>TPJCtrlDropFiles</var> subclasses the window of an associated <var>TWinControl</var>. The last two components derive from a common abstract base class.
147
147
</p>
148
148
<p>
149
149
For further information about how to handle files dropped on an application from Explorer, please see my article "<ahref="http://delphidabbler.com/articles?article=11">How to catch files dragged and dropped on an application from Explorer</a>".
Copy file name to clipboardExpand all lines: _software/envvars.html
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -29,8 +29,8 @@ <h2 class="panel-title">
29
29
<p>
30
30
This unit provides a static class for reading and modifying the environment variables available to the current process, along with a class that can be used to enumerate environment variable names.
31
31
</p>
32
-
<pclass="alert alert-info glyph">
33
-
The unit also contains a component and a set of routines that duplicate some of the features provided by the static class. These are now <strong>deprecated</strong> and are provided for backward compatibility reasons only: they should no longer be used in new code.
32
+
<pclass="alert alert-warning glyph">
33
+
The unit also contains a component and a set of routines that duplicate some of the features provided by the static class. These are now <strong>deprecated</strong> and are provided for backward compatibility reasons only: they should no longer be used in new code and may be removed from future releases.
<divid="how-it-works" class="collapse"><!-- begin collapsible #how-it-works section -->
80
80
<p>
81
-
This unit uses ideas from my article "<ahref="http://delphidabbler.com/articles?article=6">How to access environment variables</a>". The article shows how to develop routines similar to some of those in this unit and discusses their operation.
81
+
This unit uses ideas from my article "<ahref="http://delphidabbler.com/articles?article=6">How to access environment variables</a>". The article shows how to develop routines similar to some of the methods in this unit and discusses their operation.
82
82
</p>
83
83
</div><!-- /#how-it-works -->
84
84
</div>
@@ -129,14 +129,14 @@ <h2 class="panel-title">
129
129
</p>
130
130
<ulclass="list-group">
131
131
<liclass="list-group-item">
132
-
<strong><code>PJEnvVars.pas</code></strong> – the <em>Environment Variables Unit</em>contains all source code, including the deprecated component, but excluding the component registration code.
132
+
<strong><code>PJEnvVars.pas</code></strong> – contains all source code, including the deprecated component, but excluding the component registration code.
glyph for the deprecated component.<spanclass="text-warning bg-warning glyph">Deprecated</span>
137
137
</li>
138
138
<liclass="list-group-item">
139
-
<strong><code>PJEnvVarsDsgn.pas</code></strong> – registration code for the deprecated component.
139
+
<strong><code>PJEnvVarsDsgn.pas</code></strong> – registration code for the deprecated component.<spanclass="text-warning bg-warning glyph">Deprecated</span>
Copy file name to clipboardExpand all lines: _software/fractions.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ <h2 class="panel-title">
30
30
This unit, named <code>DelphiDabbler.Lib.Fractions.pas</code>, provides a single Delphi Pascal "Advanced" record, <var>TFraction</var>, that encapsulates a fraction and a number of operations on it.
31
31
</p>
32
32
<p>
33
-
A whole bunch of operator overloads make it straightforward to perform all the usual arithmetic operations on a fraction and to cast a <var>TFraction</var> to a from an integer or floating point value.
33
+
A whole bunch of operator overloads make it straightforward to perform all the usual arithmetic operations on a fraction and to cast a <var>TFraction</var> to and from an integer or floating point value.
34
34
</p>
35
35
<h3>
36
36
Testing
@@ -112,7 +112,7 @@ <h2 class="panel-title">
112
112
The simplest way is to add <code>DelphiDabbler.Lib.Fractions.pas</code> to your projects as you need it.
113
113
</li>
114
114
<li>
115
-
To make the unit easier to re-use you can either copy it to a folder on your Delphi search path, or add the folder where you extracted the unit to the Delphi Search path. You then simply use the unit as required without needing to add it to your project.
115
+
To make the unit easier to re-use you can either copy it to a folder on your Delphi search path, or add the folder where you extracted the unit to the search path. You then simply use the unit as required without needing to add it to your project.
116
116
</li>
117
117
<li>
118
118
For maximum portability you can add the unit to a Delphi design time package. If you need help doing this <ahref="http://delphidabbler.com/tips/106" aria-title="see a tip on working with design time packages">see here</a>.
0 commit comments