MSDE 2000 is MSDE 2000, as far as I know the versions are all the same ie
they are not specific to .net visual studio
From: "Robert martin" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Subject: [DUG]: MSDE
Date: Fri, 10 Oct 2003 11:29
Strange things are happening...
The last few days I have had no emails from the list, but today I got 84 at
once! not on xtra at all, just using a standard hotmail account!
*confused*
From: "Like Magic" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: Multiple recipients of list delphi <[
them to a file for
loading at runtime.
HTH
Aaron.
-Original Message-
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, 3 October 2003 10:38
a.m.
To: Multiple recipients of list
delphi
Subject: [DUG]: How do I create a
Delphi executable which has no GUI?
Hi all
I
but works for me within stored procedures...
Aaron
From: "Jeremy Coulter" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Subject: RE: [DUG]: ClientDataset inserts with MSSQL Identity column
problem
Date: Tue, 1 J
A :array of integer;
I,N :Integer;
begin
SetLength(A,10);
for I := 1 to 4 do A[i-1] := I;
N := 1;
// Generalised deletion of an index held in N
if N<(Length(A)-1) then move(A[N+1],A[N],SizeOf(A[0])*Length(A)-(N+1));
SetLength(A,length(A)-1);
end;
or something like that..
not install it... Suggestions?
--
Aaron Scott-Boddendijk
INTAZ Limited
+64 7 838 3371 Voice
+64 7 838 3372 Fax
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delp
tors it's likely a hoax...
Also Intel doesn't accounce viruses...
RANT, Rant, rant... Ok I've calmed down now...
--
Aaron Scott-Boddendijk
INTAZ Limited
+64 7 838 3371 Voice
+64 7 838 3372 Fax
---
You've been hoaxed dude
--
Aaron@home
- Original Message -
From: "John Christenhusz" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Wednesday, 14 March 2001 07:41
Subject: [DUG]: Major Virus Warning
Thanx
all for your suggestions and thanx Max for pointing what should have been
obvious to me having done with for other purposes in the past...
--
Aaron Scott-Boddendijk
INTAZ Limited
+64 7 838 3371 Voice
+64 7 838 3372 Fax
reate() failed, but
> OnFormShow() worked fine.
Nope oncreate, onshow and onactivate all give the same error during the
TCustomForm.Create of the child form which is in the onShow currently...
Dies during readState of the rootcomponent... The only autocreate form
is the container...
--
Aaron
ts of list delphi" <[EMAIL PROTECTED]>
Sent: Tuesday, March 06, 2001 1:00 PM
Subject: RE: [DUG]: I wish I didn't have to but...
> Aaron
>
> Try the OnActivate event instead
>
> Martin.
>
> >...<
> I have an MDI app... The MDI container comes up at app logi
container... I get "Cannot create
form. No MDI forms are active"...
I hate MDI and haven't played with it much - any hints on where the child form
trigger can be placed...
--
Aaron Scott-Boddendijk
INTAZ Limited
+64 7 838 3371 Voice
+64
Does anyone know the parameters for URLDownloadToFile in this
DLL... The delphi unit says
function URLDownloadToFile(p1: IUnknown; p2: PChar; p3: PChar; p4: DWORD;
p5: IBindStatusCallback): HResult; stdcall;
What is P4... Where can I find Docs on the URLMon dll...
--
Aaron Scott-Boddendijk
ornDate1.Text := DateToStr(TblPersons.FieldByName("BornDate").AsDate);
(I'd recommend using FormatDateTime rather than DateToStr so you can ensure the
date format matches your maskedit format).
> But what is going wrong The BornDate everytime is the BornDate of the last
been
written that could have been but in each case by sheer blind luck static
arrays have been adequate).
Bugger...
I'm surprised that the fact a method is overloaded changes the method
signature for exactly the same declaration of parameter types.
Comments?
--
Aaron Scott-Boddendijk
INTAZ Lim
>Just so you do not forget, we do have other lists for DATABASE,
>CPLUSPLUS and INTERBASE topics. Do we need a JBuilder one too?
>Kylix? Please let me know if you want anything else.
We have a Java one thanx very much to Nic Wise I believe... It does get used
although not a lot...
--
able version and a text-message firendly
version... Down with MSWord bloat
Also if it's not a delphi job - post to [EMAIL PROTECTED] which I think
would be happy to receive job requests for other computing topics.
...haven't you noticed by the posts - Delphi is dead ;)
--
Aaron Sc
slate XML to HTML for presentation or to PDF or RTF for Report
generation.
JSP to provide dynamic page generation (which often is populated by the XSL given
above)
Client-Tier
Browser to view HTML, DHTML, Javascript, Applets (Either in browser VM (Java
1.1.4) or via Java
plugin (1.3.0
x27; when retrieving an object reference from a list.
2. There is no 'typ' field in the TFooObject definition for TFooObject(XO).typ.Role to
work...
3. remember to free the objects when clearing the list or removing ite
o write an image of memory would stuff all dynamic
arrays and strings as these are just references in your instance memory space.
Add a constructor CreateFromStream which takes a stream and calls loadFromStream
to clean up the creation process if you like.
--
Aaron Scott-Boddendijk
INTAZ Limited
+64
now anything about it.
Yep even though it contains the magical "view this with scepticism" phrase
"wipes your hard-drive" I looked into it too... No mention... Either of it being a
hoax or a new virus...
Also the 'apparently' is an interesting starter... Oh
I was just thinking that myself.
> Being that if you _own_ a copy of Delphi > 2, you _get_ a
> copy of Delphi 1 (I think - if not, we can arrange one I think),
> it shouldn't be a problem.
> You DO own a copy, right?? (No, not you, Aaron)
AFAIK - Borland's never released a
>> Delphi 3 shipped with Delphi 1 in the package.
> Yes I know, but I don't have the original Delphi 3, I have a CD with several Delphi
>and C++ versions
> that doesn't contain D1...
gee... now that sound
How can my app (run from a batchfile) set the value
of an environment variable. SetEnvironmentVariable
sets only inside the environment of its own process?
--
Aaron Scott-Boddendijk
INTAZ Limited
+64 7 838 3371 Voice
+64 7 838 3372 Fax
down to the last bit and clock-cycle style
development. Identify bottlenecks and address them, the VM is not itself a large
bottleneck - mis-application certainly is.
--
Aaron Scott-Boddendijk
INTAZ Limited
+64 7 838 3371 Voice
+64 7 838 3372 Fax
-
bit and
Java will step further into Delphis niche as time progresses).
IMHO
--
Aaron Scott-Boddendijk
INTAZ Limited
+64 7 838 3371 Voice
+64 7 838 3372 Fax
---
New Zealand Delphi Users group - Delphi List - [EMAIL
Name);
end;
constructor TDescendant.Create;
begin
inherited Create;
// Whatever you like in here
end;
I have no idea why it would matter at this point...
--
Aaron Scott-Boddendijk
INTAZ Limited
+64 7 838 3371 Voice
+64 7 838 3372 Fax
---
for I := 0 to 10 do inner;
showmessage(s1);
end;
begin
outer;
end.
--
Aaron Scott-Boddendijk
INTAZ Limited
+64 7 838 3371 Voice
+64 7 838 3372 Fax
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
reate;
begin
inherited Create;
// actual constructor code...
end;
constructor TSpam.Create;
begin
inherited Create;
// raise an exception with predictable results...
raise Exception.Create("You cannot instantiate an instance of '+ClassName);
end;
--
Aaron Scott-Boddendij
as create is public in
TObject.
Means that an outsider using your class can still unknowingly do a TMyGadet.Create even
if they're not a descendant.
--
Aaron Scott-Boddendijk
INTAZ Limited
+64 7 838 3371 Voice
+64 7 838 3372 Fax
-
being:
- N-Tier design
- Java, JSP/Servelets, EJB
- ORACLE database (8i connecting through JDBC)
- Full-time
- Located in Hamilton
- Top equipment - Training available for weaker skill areas.
Send expressions of interest and/or CV to [EMAIL PROTECTED]
--
Aaron Scott
course that ORACLE will bind a parameter to field in this
case...
Which I haven't tried...
--
Aaron Scott-Boddendijk
INTAZ Limited
+64 7 838 3371 Voice
+64 7 838 3372 Fax
---
New Zealand Delphi Users group - D
AsString;
ExecSQL;
LQuery2.Next;
end;
Unprepare;
That's only 1 prepare...
NB: Note the string specification... I'm assuming since your filter is a
string that the parameters going in are strings too... This could be the
problem with the query... is cell_id a string or a number?
I am not sure of how to go
> about it. I have tried the following with no luck. It doesn't like the
> parameters for the select fields. I have tried aliasing the parameters.
What's the error...
One thing you may have to do is set the parameter type... S
runcation occurs to produce
the resultant string. I would hope truncation as per normal casting rules.
--
Aaron@home
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://w
pace(2.5)
Something like
StringOfChar(' ',Trunc(FloatingValue));
would produce equivelent effects to the MS command
wouldn't it... You certainly can't return 0.5 of a space in
a string...
--
Aaron Scott-Boddendij
them as var arrays. The Help file says
> that: declaring them using a type
Declare the parameter as const.
EG
procedure Spam(const a :array of Double);
typing your dynamic arrays is only necessary for return types and var parameters
where the array will change in dimensions...
Deals with overlapping memory as well...
--
Aaron@home
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
w
Anybody help me out?
>> This is not C++ - its either C# or JScript, most likely JScript
> Interesting, I wonder what platform. My NT registry has no sign of a
> shellutils factory.
I'm guessing it came from JavaScript in the Win2k system.
--
Aar
dArray[Row]);
Gives iColCount := 19;
iColCount := iColCount + 1;
Gives iColCount := 20;
SetLength(fGRidArray[Row],iColCount);
is setting the array to the same length as it currently is...
Use SetLength(fGridArray[Row],Length
bodies at the other end.
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http
ShowMessage(BoolText[I in [meTwo..meFour]]);
end.
Produces No,Yes,Yes,Yes,No
But the Debugger show bogus values for the range. Not so much
incorrect as misleading (it only evaluates the range start).
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---
eletes
and incremental growth exist as much for TList as for arrays and in return
you lose type-safety.
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---
New Zealand Delphi Users
ty for scaling.
- incremental allocation of resources.
Collections Cons
- Complexity of implementation
- performance is worse than array for small amounts of data which fit the array
requirements.
- Storage overheads on some effective indexing/ordering models can be quite high.
--
Aaron Scott-B
font.style - [fsStrikeOut]
else
canvas.font.style := canvas.font.style - [fsStrikeOut];
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---
New Zealand Delphi Users group - Delphi List - [EMAIL
ot 0. So a stateindex of 0 won't display anything... Put a placeholder
image in your imagelist at index 0 and try to set the StateIndex to 1 on your node...
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(
ur email address but instead have reached you by posting
to the Delphi List - unfortunately if you're a regular poster on this list it's
likely they do have your address. 8-(
--
Aaron Scott-Boddendijk
Jump Productions
(07) 83
to prevent outsiders from
posting? As much as I like the open facility - I think our company
members can handle selecting a posting account to solve the spam
issue...
Gotta hate that spam...
--
Aaron Scott-Boddendijk
Jump Productions
(07)
o just the first one that uses Application.CreateForm()
You can of course still use...
TheDataModule := TTheDataModule.Create(Application);
Application.CreateForm(TMainForm,MainForm);
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voi
firmation... Sent a message... nothing...
I'll try a second... Also I notice that the list is restricted to posters
being subscribed... Not a serious problem but something to be aware
of...
--
Aaron Scott-Boddendijk
Jump Productions
(07)
either discuss Java on this list or get the
[EMAIL PROTECTED] list back up?
--
Aaron@home
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
erence-
counted or allocated on the heap...
For dynamic arrays I assume that
var
a :array of String;
begin
setlength(a,2);
a[0] := '1';
a[1] := '2';
setlength(a,0);
setlength(a,2);
end;
does not leave the string hanging around... This of course wouldn'
> Is there a function that Rezeros the elements of an array ?
fillchar(A,SizeOf(A[Low(A)]*Length(A),#0);
or something like that...
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372
on is used (stdcall, etc) but the pascal equivelent
of the typedef is (assuming the C was compiled for 32bit ints)
type
TMyFunction = function(i :Integer):Integer;
so if you had a function
function X(i :Integer):Integer;
you could pass
e
> bytes into there and convert?
>
var
W :Word;
MyArray :array[0..1] of Byte;
begin
MyArray[0] := 1;
MyArray[1] := 2;
// MyArray[1] is MSB
W := (PWord(@MyArray[0]))^;
showmessage(inttostr(W));
// MyArray[0] is MSB
W := (MyArray[0] SHL 8) + MyArray[1];
showmessage(intt
s been added to a spam addresses database
and distributed...
Can the mailing list software support memberships that can post without recieving
any mail. If so we should probably restrict this list to subscribed users. I'd hate
to
have 3 copies of all mail come to our building though...
end;
end;
// If General_Bits.ReadConfFile(String) places results in a precreated TStrings.
var
Temp :TStrings;
begin
Temp := TStringList.Create;
try
if General_Bits.ReadConfFile('ljch',Temp) then
Temp.SaveToFile('c:\windows\desktop\blah.txt');
at's a useful difference to be aware of. Note that an alternative is not
to specify an owner at all if the forms lifetime does not span the entire session.
with Tform1.Create(nil) do try
// Some setup
case ShowModal of
mrOK: // Some affirmative behaviour
mrCancel: // Som
> What's the best way to open a bmp file and read the the binary structure of
> the file?
If you're wanting Pixel data use TBitmap.LoadfromFile()...
If you're wanting the binary file data use a TFileStream
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Vo
0.4
I'm not a MS advocate - the fact that minor software option changes so often require
a restart is pretty bad... But this should put NT stability in perspective - it can be
Quite stable for some uses...
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 V
necessary
work... If you're managing the lifetime yourself - specify the owner as nil.
unnecessary processing is microsofts way of saying buy a bigger computer.
--
Aaron@home
---
New Zealand Delphi
ew records.
At merge time the NodeID and SequenceID are used to avoid collisions.
This is guarenteed unique and provides a tracking tool for Node lifetime
and usage. Ideally for performance you'd reconcile node/node-sequence
IDs to a new server ID at merge-time (a table used only for backtra
and performance.
- Release as soon as possbile - memory is valuable.
- Some components are expensive to recreate regularly, instance pooling
may speed things up - Lifetimes are managed by the instance pool.
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-33
so needs to be linked in...
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
> can you use wildcards in the pos function? Eg Pos('<*>', strHTML)
No... And on the same note... Does anyone have any regexp matching/searching
functionality around...
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voic
e the IDE creates an empty project on
boot if no project is specified this still isn't quite what I'm after (although that's
better than nothing)...
I will likely use a batch file which sets
HKCU\Software\Borland\Delphi\4.0\Session\Project=""
before running delphi and ju
ooted to
a 'no-project' state (MRU list usually contains the project I actually want you see)...
Sigh...
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
mmand line parameters and that once of the undocumented parameters stops
the loading of of a project (last project or New project) when the IDE is started
Does anyone know the parameter or documentation of the parameters (I'm using
D4 Update 3)...
--
Aaron Scott-Boddendijk
Jump Production
ps one of the other n-tier solutions might suit better - there was
even a free one mentioned on this list a while back I thought.
--
Aaron@home
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
is expected to introduce any new
language concepts...
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
arise...
Note that ORACLE warns that testing a string against null when you mean '' is
not necessarily going to continue as ORACLE would like to correct this non-
compliance as they then can better provide a mapping to Java inside the database.
Do MS-SQL, Interbase, Postgress, etc suffer t
in the general case you cannot identify by the
Violation address whether the programmer error was lack of initialisation or
use after release.
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
--
nil pointers that'll give the EAccessViolation... Any uninitialised
pointer (including used pointers which have had their memory released) which
steps over the legal memory boundary... The exception message should read
EAccessViolation and that's enough to identify an dangling pointe
othing serious... It's worth altering the registry to show the SHS extensions...
--
Aaron@home
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
said registered it didn't work with Delphi...
It's a shame because the compile-time checking and they ability to directly
create elements like font objects is really handy...
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
--
for collections... Bizarre...
I'm sure Michael will inform you all of his results... Shame that OLE doesn't
provide the same reflection support as Java ('almost' bug-free and
complete)... It's not like OLE is ay faster ;)
Ah
>> Never include extraneous parentheses in a statement.
>> Parentheses should only...
> I'd like to know the context in which it was written. Is this part of a
> coding style specification? If not it sounds like "thou shalts" delivered
> from on high.
It has to be 'code style' as there is ce
ppreciation for OOP
that people should already be using in Delphi if they want to maximise it's
capabilities...
NB. Mildly hipocritical here in that I haven't had opportunity to apply interfaces
in our existing developments as their design predated D4 - and we didn't want to
mix our dri
e for
> each file.
>
> Has anybody tried this or got any ideas?
1. Get a Temporary filename.
2. Save the file using that name
3. Remove the file.
If this is done in code, I would expect the user won't see any dialogs.
I believe it's also possible to convince the filesyst
> When I run the following
>
> update dockets set LogPrice = (select LogPrice from Temp
> where temp.docketno = dockets.docketno)
UPDATE Dockets
SET LogPrice = ( SELECT LogPrice FROM Temp WHERE Temp.DocketNo=Dockets.DocketNo )
WHERE EXISTS ( SELECT 'X' FROM Temp WHERE Temp.DocketNo=Dockets.Dock
is a very handy
feature
Useful items I can think of are:
__File :String;
__Line :Integer;
__DateTime :TDateTime;
__Method :String;
__Class :String;
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---
> FWIW I too did not receive the original message. This list has got problems
> Gary!
It's been this way for about 6 weeks now... I get the list at work and at home... They
differ by four or five messages every day...
--
If it's always invisible why have a form at all...
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
- Original Message -
From: Luke Pascoe <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Friday,
> Dear Aaron,
>
> Please suggest me if I am wrong.
>
> Singleton is not suitable to me. I got several const objects of same class.
>
> Best Regards
> leigh
The original message was not clear as to your business needs but I hope that
enough material has been prese
eton instance if one exists.
_MyClass.Free;
end.
--
Aaron@home
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
result := _MyClass;
end;
constructor TMyClass.Create(AValue :Integer);
begin
inherited Create;
FAValue := AValue;
end;
initialization
finalization
// Release the Singleton instance if one exists.
_MyClass.Fre
values of my structures... Of
course sometimes you just want a const ;)
--
Aaron@home
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
had this issue before, or got any suggestions ??
I don't know about Interbase but ORACLE has storage specifiers for the table at
creation time.
These specifiers assist ORACLE in avoid fragmentation... The same goes for Indexes
IIRC...
Are similar storage specifiers (Inital extent, next ex
ange' events being triggered if the newcaption matches the old caption...
IMHO with todays memory-scales your mind should always be on functionality, stability
and performance not minor byte-trimming with the source
messaging can be used to
implement thread-style behaviour and is done often enough with glue-type
applications in some erp environments. Certainly not the most optimal way to
go about things - besides which resource locking and synchronisation issues
are not nearly as easily managed under these
well improve
feedback mechanisms and responsiveness of programs during times when intense
processing is being performed.
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---
New Zealand
of the manuscript done and lick all those stamps.
Best Case: 3 weeks
Average Case: 3 weeks
Worst Case: 1 month and 1 week
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---
New Zealand
opment - there's just too many buts and
MS is only one of the culprits...
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
fmCreate or fmShareExclusive) do try
CopyFrom(Q1,0); // Copy entire stream from offset 0
CopyFrom(Q2,0); // Copy entire stream from offset 0
finally
Free;
end;
finally
Q1.Free;
Q2.Free;
printer installed incorrectly
and have some functions cause AVs but not others... EG a lookup into the Printer.Fonts
list caused an AV even though Word could print fine...
For a professional app all resource accesses that can throw an exception should
have their relevent handlers and resource prote
d Pages prepared'+#13+#13+
'Okay to print?'
,[SL.Count,SL2.Count,PC]),mtinformation,[mbOK,mbCancel],0)=mrOK then
Printer.EndDoc
else
Printer.Abort;
FH.Free;
FD.Free;
SL.Free;
SL2.Free;
end;
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(0
e;
Clear;
Add(a);
Add(b);
Add(c);
EndUpdate;
end;
end;
var
SL :Tstringlist;
begin
SL := TStringlist.Create;
Stringlist.AddStrings(MyFunction('1','2','3',SL));
SL.Free;
end;
Either way you must free it...
... I have touched all files to todays date, removed all *.dcu and *.dsk and
removed the
dsk from the Delphi folder... suggestions?
Delphi 4 patch 3 running on Win95 and WinNT machines (Server is NT4 Server) all NT
machines have SP6a... All machine clocks are synchronised and correct...
--
Aaron
sulate the TList and that way only expose
methods you want for your new base class... Given how TList is implemented
I think it was intended to be encapsulated rather than inherited from...
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838
heriting components.
Take out the semi-colon after the Class Parent
I'd also advise assigning a visibility specifier (in this case Public)
TTaskList = class(TList) // No semi-colon here...
public
procedure SaveToFile(const FileName :String);
end;
--
Aaron Scott-Boddendijk
Jump Produ
1 - 100 of 361 matches
Mail list logo