> -----Original Message-----
> Behalf Of Arno Garrels
> Sent: 07 February 2007 17:08
> To: ICS support mailing
> Subject: Re: [twsocket] Possible bug and solution in TWndControl
> Fastream Technologies wrote:
> >> Initialize means you assign it in an Intialization section, do you?
> >
> > There is no such technique in C++! I have an intermediate Pascal
> > class but I did not notice this technique.
> I was hoping you teached me how to do the same in C++, anyway make
> sure this variable is set before any ICS V6 object is created. Most
> secure however is an initialization section. Changing it later,
> after the first number has been allocated with default value will
> probably cause errors.

I think the only way is to use a static variable.  Something like this (may
contain syntax errors but you get the idea):

bool initSomething()
  // your initialisation code here
  return true;

static bool dummyBool = initSomething();


To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to