DBin_ | |||
Syntax: | |||
DBin_(BinName$,FileName$,[Key$]) | |||
Return Values: | |||
| |||
Description: | |||
Unpacks and Decodes file in DBin and returns Memory Address. Decode using optional decryption key. | |||
Example: | |||
#Image=0 Image=DBin_("MyBin","images\PBLogo.bmp") If Image CatchImage(#Image,Image) Else MessageRequester("Error","Image not Found in DBin") End EndIf If OpenWindow(0,0,0,400,100,"DBin Test",#PB_Window_SystemMenu|#PB_Window_ScreenCentered) If CreateGadgetList(WindowID(0)) ImageGadget(1,0,0,300,100,UseImage(#Image)) EndIf Repeat Until WaitWindowEvent()=#PB_Event_CloseWindow EndIf | |||
|