Home Техника ресурс

ресурс



Приложение

InthelaterdevelopmentofOS2andWindowprograms,theconceptofresourceswasofficiallyintroduced.Forexample,Borland'sC++,Delphidividesthedialogboxintotwoparts:onepartisthelogicoftheprogram,andtheotherpartisthesize,position,fontandotherinformationofthedialogboxandthecontrolsonit.Thisinformationistheresource,whichistheconstantconstantintheprogram.Earlyresourcefilesaregenerallyembeddedintheprogram,wecanusesometoolstoreadtheseresourcesindllorexe.

Withtherapiddevelopmentofcomputertechnology,thetypesofresourcesarebecomingmoreandmoreabundant,suchaspictures,audios,videos,andsoon.Fromtheperspectiveofsoftwareinternationalization(Globalization/Localization),resourcescanbedividedintotwocategories:

Oneistheresourcesthatneedtobechangedaccordingtotheuser’slanguage,suchastheChineseversionandEnglishversionofthesoftware.Etc.;

Другият тип са ресурси, които не е необходимо да се променят с езика, използван от потребителя, като аудио, изображения и др.

Fromtheperspectiveofthewayresourcesappear,resourcescanbedividedintothreecategories:

Първата категория е вградена в сборката (Сглобка);

Thesecondtypeisaseparatefilethatappearsonalocalstoragemedium(usuallyaharddisk);

Thethirdtypeisaseparatefilethatexistsonaremotestoragemedium,suchasanetworkharddisk.

This article is from the network, does not represent the position of this station. Please indicate the origin of reprint
TOP