Ok so, whilst keeping in mind IOhannes advice about getting into C externals, I had a go at writing my simple 'maths' external in C. Everything seems to work fine and I created a test patch... but *only on windows* if I re-open the saved test patch (which has 3 numberboxes connected to 3 inlets, and a numberbox connected to the outlet) the object box (I mean the gray "thing") is disappeared and only a text like a comment is there (I can even drag it around). If I recreate the object and attach the numberboxes again everything is fine. If the object is without anything attached everything is fine. In linux everything is fine...
Could it have something to do with the DLL I'm linking or is this some hidden mistake in the external code?
Clues appreciated.
Lorenzo. PS: I'm using 0.42-5-extended.
I seem to recall that happening when things are built using MinGW without the -mms-bitfields flag. Check trunk/externals/Makefile for well tested compile flags for MinGW.
.hc
On Mar 16, 2010, at 7:49 AM, Lorenzo wrote:
Ok so, whilst keeping in mind IOhannes advice about getting into C externals, I had a go at writing my simple 'maths' external in C. Everything seems to work fine and I created a test patch... but *only on windows* if I re-open the saved test patch (which has 3 numberboxes connected to 3 inlets, and a numberbox connected to the outlet) the object box (I mean the gray "thing") is disappeared and only a text like a comment is there (I can even drag it around). If I recreate the object and attach the numberboxes again everything is fine. If the object is without anything attached everything is fine. In linux everything is fine...
Could it have something to do with the DLL I'm linking or is this some hidden mistake in the external code?
Clues appreciated.
Lorenzo. PS: I'm using 0.42-5-extended.
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev
----------------------------------------------------------------------------
All mankind is of one author, and is one volume; when one man dies, one chapter is not torn out of the book, but translated into a better language; and every chapter must be so translated.... -John Donne