Re: [PD-dev] Trouble with memory+pointers

2007-06-25 Thread Ed Kelly
Splendid! It doesn't crash any more. It doesn't work either, but at least I'm in more familiar debugging territory! Thanks. I used a x->firstl, x->firstr and x->firstx variables that were tested and set, so that the first time each list is initialized, the first thing that happens is e.g. x->ma

Re: [PD-dev] Trouble with memory+pointers

2007-06-25 Thread Ed Kelly
So... if I initialize the pointers the first time they are used, maybe that will help. It makes sense that the _new routine would be causing the problem, since it crashes when I load the object (PD disappears...) I'll try it! Ta, Ed Martin Peach <[EMAIL PROTECTED]> wrote: Ed Kelly wrote: > Hi d

Re: [PD-dev] [PD] Trouble with Memory and Pointers

2007-06-25 Thread Frank Barknecht
Hallo, switching to pd-dev ... Ed Kelly hat gesagt: // Ed Kelly wrote: > I'm trying to rewrite some of my externals to be a bit more > efficient, clear up after themselves and generally work more > smoothly. I started with maskxor, because I really need this to work > for the ICMC, and it's not

Re: [PD-dev] Trouble with memory+pointers

2007-06-25 Thread Martin Peach
Ed Kelly wrote: > Hi devs, > > I'm trying to rewrite some of my externals to be a bit more > effe\icient, clear up after themselves and generally work more > smoothly. I started with maskxor, because I really need this to work > for the ICMC, and it's not working properly in certain situations.

Re: [PD-dev] Pd external-window crash

2007-06-25 Thread nosehair911
Jamie, I am running thru your 2004 apple developer posts. http://lists.apple.com/archives/carbon-development/2004/Jan/msg00318.html I am trying to figure out how you solved the carbon windowing issue you had with Gem for my external but you never posted a solution. What did you finaly do to get

[PD-dev] Trouble with memory+pointers

2007-06-25 Thread Ed Kelly
Hi devs, I'm trying to rewrite some of my externals to be a bit more effe\icient, clear up after themselves and generally work more smoothly. I started with maskxor, because I really need this to work for the ICMC, and it's not working properly in certain situations. So I borrowed some code fr

Re: [PD-dev] Pd external-window crash

2007-06-25 Thread nosehair911
> Well it looks like if I get a Gemwin opened first, then I can open an opencv > window without a crash... > > It seems like the window is made using Carbon. Is there any special way Pd > > handles Carbon > > windows that would cause this stall? This is my last hurdle. I have my externals wor