dictionary_write( ) ?

Aug 11, 2012 at 1:27pm

dictionary_write( ) ?

Hi,

Anybody have an example (or a link) about how to use “dictionary_write” “dictionary_read” function with t_dictionary ? I have no idea what the short argument “path” is supposed to be. I searched with google, in Jamoma and in the SDK with no result.

Thanks.

#63935
Aug 11, 2012 at 1:43pm

Hi Nicolas,

I use
short path_frompathname(C74_CONST char *name, short *path, char *filename);
in ext_path.h to get a short path from a file path.
A quick flick through ext_path.h might be useful for you.
Hope this helps!
Leigh

#230541
Aug 11, 2012 at 2:23pm

Hello,

Gosh (how it is possible ?) but i never seen “ext_path.h” before ;-) Thank you very much for the hint.

#230542
Aug 11, 2012 at 2:38pm

It took me some time to happen across it too!

#230543

You must be logged in to reply to this topic.