Re: [twsocket] WSocketTS won't build in d2

2007-12-06 Thread Wilfried Mestdagh
Hello Ron, from the top of my head (could be wrong for the TagMsg): procedure FreeAndNil(var Obj: TObject); begin Obj.Free; Obj := nil; end; LongWord is a Cardinal TagMsg is TMessage --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz

Re: [twsocket] WSocketTS won't build in d2

2007-12-06 Thread DZ-Jay
On Dec 6, 2007, at 04:36, Wilfried Mestdagh wrote: from the top of my head (could be wrong for the TagMsg): procedure FreeAndNil(var Obj: TObject); begin Obj.Free; Obj := nil; end; LongWord is a Cardinal TagMsg is TMessage I don't know in D2, but in D5+ TMessage is TagMsg,

Re: [twsocket] WSocketTS won't build in d2

2007-12-06 Thread DZ-Jay
On Dec 6, 2007, at 04:36, Wilfried Mestdagh wrote: procedure FreeAndNil(var Obj: TObject); begin Obj.Free; Obj := nil; end; begin if (Obj Nil) Then Obj.Free; Obj := Nil; End; LongWord is a Cardinal This is correct. dZ. -- To

[twsocket] WSocketTS won't build in d2

2007-12-05 Thread Ron
Are there some conditional defines missing from this unit? Delphi 2 errors on defines for FreeAndNil, Longword and TagMsg. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at