answersLogoWhite

0


Best Answer

It is poor programming practice resulting in undefined behaviour. Files should never store memory addresses (real or virtual), since there's no guarantee a valid object will always reside at the same location in memory, unless the programmer can be absolutely certain the object will outlive the file (such as when referring to active objects in memory via a temporary file).

To embed an object in a file, the object must be stored in an independent file. The file in which the object is embedded simply links to the object's file. In this way, whenever the object is updated (and saved), all files in which it is embedded will also be updated.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is an An address embedded in a file that links the file with an object?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the difference between linking and embedding?

"Linking" refers to providing a "reference" to the source data; if the source is deleted, the link no longer functions; many different types of files, programs, and programming interfaces refer to displaying externally located data as linking. Linking is advantageous when the data might later change and the program or file that contains the link would benefit from having the latest version of the data. "Embedding" has a slightly different context depending on the context that you are using it. If you are referring to a file (such as a Flash file, Microsoft executable file, and so on), embedding refers to storing the data directly within the other data type. An executable can store Icon files, for example, which alter their presentation on the Desktop or Start Menu by showing an identifying image so users can tell programs apart visually. Embedding in a document file depends on the type of document file in question. Some document files store a copy of the data in the file, while other document formats simply imply that a plugin program is embedded into the document's data. Finally, applications can embed other applications within them during execution. For example, a program could be written to embed an Internet Explorer web viewer into a larger program. When embedding refers to "storing a copy", the benefit is that the source file can be deleted without affecting this dependent file. The disadvantage, of course, is that updates to the source data require updating the dependent file through whatever means available (applications have to be recompiled, documents have to be edited, etc). When embedding refers to "running a copy of a program within another program", there are many advantages: less code has to be used each time a component is reused, the component can be upgraded independently of the main program, and a component can crash without crashing the entire application (possibly including recovering data from the failed component). The disadvantage of embedding is, of course, memory usage will be higher than having a single, unified program.


What is object file?

In computer science, an object file is an organized collection of separate, named sequences of machine code.


What is an embedded style?

Embedded CSS simply means that your CSS is written in an external file (i.e. not in your HTML file). The external file can be anywhere on your server and must end in ".css". You would call this CSS file from inside your HTML file like this:On the otherhand, inline CSS is when your CSS is included inside of your HTML code, for example:foo


Why program consists more than one object file in c?

why does a program consists of more than one object file in c++


Which method of object output streme class can be used to write the cotents of an object to a file?

write object

Related questions

Which type of object is stored only in its source file?

embedded object


Why embedded object document requires more size than linked object?

Because a linked object is created and stored in a separate source file and then it is linked to the destination file, while an embedded object is created in a separate source file but then it is inserted into the destination file , becoming the part of that file.


Why embedded object documents requires more size than linked object?

Because a linked object is created and stored in a separate source file and then it is linked to the destination file, while an embedded object is created in a separate source file but then it is inserted into the destination file , becoming the part of that file.


What type of object becomes part of the PowerPoint file?

embedded


Can A file contain files directories and folders?

A file cannot (in general) contain other files or folders in the traditional sense. A zip or other archive file can contain other files or folders and a document file can have a file in it as an embedded object, but these are special applications.


How do you paste an embedded file into movie maker?

You can't paste embedded files into Windows Movie Maker.


What is the difference between linking and embedding?

"Linking" refers to providing a "reference" to the source data; if the source is deleted, the link no longer functions; many different types of files, programs, and programming interfaces refer to displaying externally located data as linking. Linking is advantageous when the data might later change and the program or file that contains the link would benefit from having the latest version of the data. "Embedding" has a slightly different context depending on the context that you are using it. If you are referring to a file (such as a Flash file, Microsoft executable file, and so on), embedding refers to storing the data directly within the other data type. An executable can store Icon files, for example, which alter their presentation on the Desktop or Start Menu by showing an identifying image so users can tell programs apart visually. Embedding in a document file depends on the type of document file in question. Some document files store a copy of the data in the file, while other document formats simply imply that a plugin program is embedded into the document's data. Finally, applications can embed other applications within them during execution. For example, a program could be written to embed an Internet Explorer web viewer into a larger program. When embedding refers to "storing a copy", the benefit is that the source file can be deleted without affecting this dependent file. The disadvantage, of course, is that updates to the source data require updating the dependent file through whatever means available (applications have to be recompiled, documents have to be edited, etc). When embedding refers to "running a copy of a program within another program", there are many advantages: less code has to be used each time a component is reused, the component can be upgraded independently of the main program, and a component can crash without crashing the entire application (possibly including recovering data from the failed component). The disadvantage of embedding is, of course, memory usage will be higher than having a single, unified program.


A webpage is a text file of tags and embedded text?

HTML


How can you call a flash file in JavaScript?

what you could do is make the file an HTML file and have embedded Javascript in it. i am not sure how to put a flash file into Javascript though.


How do you install games for gfive ht8800?

Download the jar file. Put it on a web site. Type the web address that links to the jar file into your phone's web browser it should download.


When performing an authoritative restore of a user object that belongs to multiple active directory group what is restored by the LDF file that is generated by Ntdsutil?

Back-Links


How do you find out what address IRS has on file?

how do i find out what address the irs has on file for me.