[PD] My first external: [fsm] finite state machine for pd

lsw lsw at floppy35.de
Thu Apr 16 12:38:45 CEST 2009


Hey Martin,

thanks for debugging. You're right, that sizeof() was definitely wrong,
as i was already passing sizes to the function. I wonder, why it didn't
crash on my machine while testing... ;)
I'm going to update the files in a minute.

All the best,
Lsw~

Am 16.04.2009, 06:18 Uhr, schrieb Martin Peach <martin.peach at sympatico.ca>:

> I think I found it. The function fsm_getbytes should look like this:
>
> void * fsm_getbytes(int s) {
> 	return getbytes(s);
> }
>
> instead of
> void * fsm_getbytes(int s) {
> 	return getbytes(sizeof(s));
> }
>
> At least now the help patch doesn't crash Pd on WinXP.
>
> Martin
>
> lsw wrote:
>> Hi Matthew,
>>  thanks for testing. I started pd by doubleclicking the help-file on my  
>> Mac without experiencing any crashes.
>>  Does the external crash as well, if you instantiate it manually, or is  
>> it just the help-file?
>>  I compiled the DLL with DevCPP (according to  
>> http://www.youngmusic.org/wiki/index.php/PD-linking-tutorial ) and  
>> Darwine on my Mac... might be a little weird. Could anyone be so kind  
>> to try to compile a win binary on a more solid setup? I think IOhannes  
>> Makefile should work for that.
>>  Thanks again,
>> Lsw~
>>
>>> Help file keeps crashing Pd on Win machine when I try to open it.   
>>> Anyone
>>> else?
>>>
>>  _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->  
>> http://lists.puredata.info/listinfo/pd-list
>>
>




More information about the Pd-list mailing list