Paul Berridge (paulb++at++equipe.ltd.uk)
Mon, 25 Oct 1999 17:46:01 +0100
I'm loading a file in one format (Multigen .flt) and trying to save it
in a .pfb format file with my own user data.
As recommended by the pfb man page, I set up the callback functions
before calling pfdStoreFile_pfb with
my_data_slot = pfGetNamedUserDataSlot("my_slot");
pfdUserDataSlot_pfb( my_data_slot, my_descend, my_store, my_load );
as recommended in the pfb manual but this didn't seem to work.
Looking at the pfb source code it seems that my user data function
pointers are being set to 0 by the function copy_udfunc (Performer
version 2.2.5) so my user data descend/store/load functions do not get
called.
So ... what do I need to do to make this work and do I need to do
anything else to be able to read the my_slot user data when I next load
the .pfb file?
And while I'm on the subject, can I store (and later retrieve) the .flt
user data in a .pfb file in the .flt user data slot?
-- Paul Berridge Principal Development Engineer Equipe Electronics Ltd. 13 Liverpool Gardens Worthing, W. Sussex BN11 1RY ENGLANDPhone +44 (0) 1903 216622 FAX +44 (0) 1903 216633
This archive was generated by hypermail 2.0b2 on Mon Oct 25 1999 - 09:47:48 PDT