学习学习
凑个热闹,给我一份
我把查到的贴出来 e文不好请楼主解释
Saves a VCL component to a stream.
Header
atlvcl.h
Category
Streaming utilities
typedef IStream __RPC_FAR *LPSTREAM;
void __fastcall SaveVCLComponentToStream(TComponent *instance, LPSTREAM pStream);
Description
Use SaveVCLComponentToStream to save a TComponent descendant using a stream interface.
instance is the component instance to save.
pStream is a pointer to the IStream interface to which the component should be saved.
Loads a VCL component from a stream.
Header
atlvcl.h
Category
Streaming utilities
typedef IStream __RPC_FAR *LPSTREAM;
void __fastcall LoadVCLComponentFromStream(TComponent *instance, LPSTREAM pStream);
Description
Use LoadVCLComponentFromStream to load a TComponent descendant using a stream interface.
instance is the component instance to load.
pStream is a pointer to the IStream interface from which the component should be loaded.