[twsocket] Error when building an answer page

2014-08-31 Thread Florian Hector
Hi, I am trying to create a virtual document where also the number and names of the tags can vary at runtime. When I build the answer page with a fixed number of tag like this: ClientCnx.AnswerPage(Flags, '', '',

Re: [twsocket] Error when building an answer page

2014-08-31 Thread Florian Hector
That tags parameters needs to have an even number of elements ([Tag,Value]) and to create that tags parameter at runtime you have to use an *array of TVarRec* variable. Would you have an example of how you assign a pair of values to this array of TVarRec. Florian -- To unsubscribe or

Re: [twsocket] Error when building an answer page

2014-08-31 Thread Florian Hector
Tags[0]=Tag1 Tags[1]=Value1 Tags[2]=Tag2 Tags[3]=Value2 No luck with all sorts of ways. When I define the tags statically at design time and step through the code, the content of the variable TAGS is much different from when it is done at runtime. Why do you need to build the tags