Click to open or copy the files for the PicklP sample.
This sample demonstrates data procedure 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 |
Readme.txt | Readme file for the PICKLE sample |
Picklp.idl | Interface definition language file |
Picklp.acf | Attribute configuration file |
Picklpc.c | Client main program |
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; ndrmesprocencodedecode; picalloc; picread; picwrite; printf; procpickle; readdatafromfile; tolower; usage; va_start; writedatatofile