Click to open or copy the files for the PicklT sample.
This sample demonstrates data type serialization. The program demonstrates a fixed buffer style pickling and an incremental style pickling depending on the switches being used.
The implicit_handle primitive is used as the pickling handle.
With default switches, the program encodes data to a file. To decode data from the file, use -d switch.
Main Files
File | Description |
Picklt.idl | Interface definition language file |
Picklt.acf | Attribute configuration file |
Pickltc.c | Client application for type pickling |
Makefile | Nmake file to build for Windows NT or Windows 95 |
Makefile.dos | Nmake file to build for MS-DOS |
This sample uses the following keywords:
align_to8; defined; dumpdata; exit; fclose; fopen; fprintf; fread; free; fwrite; malloc; memset; mesdecodebufferhandlecreate; mesdecodeincrementalhandlecreate; mesencodefixedbufferhandlecreate; mesencodeincrementalhandlecreate; meshandlefree; midl_user_allocate; midl_user_free; ndrfcshort; ndrmestypealignsize; ndrmestypedecode; ndrmestypeencode; object2_alignsize; object2_decode; object2_encode; picalloc; picread; picwrite; printf; readdatafromfile; tolower; usage; writedatatofile