Re: xpm resources

new topic     » goto parent     » topic index » view thread      » older message » newer message

Irv,

Programs are using static and dynamic data/runtime files, call it DAT, TXT, DLL, so, CFG, INI, XML, WAV, MP3, JPG, AVI, MP4, what ever. Static or dynamic data is technically the same. And you cannot live without it.

I usually teach my users how to backup to a USB-Key, Dropbox, or another way - this is part of the service I give. More then this: only God can help.

Trying to bind the DLL, AVI and INI file on top of the executable is an adventure - but what for?

If I had 10 or 100 JPG files which are part of my user interface, then I would simply bind them into MY-PROG.LIB (maybe LIB is more safe then annoying DAT?), and use them as any other critical database (what is more critical - the user interface design, or the actual user's database?).

But if you insist, then just open the JPG file in binary mode and load it into sequence(s), using jpg_image &= sprintf("%d,", getc(fn)).

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu