I had similar problems with chains (I could read one event and then
seg fault). Someone gave me the hint that it was the interpreter
giving me the problems. Sure enough, when I compiled the macro
everything worked. Try removing the following from your macro:
nb += chain->GetEvent(i,1);
and replace it with just
chain->GetEvent(i,1);
(i.e. don't count bytes). Then it will work in the interpreter (at
least it did for me).
- Mike Beddo
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:37 MET