i have some dll file in which i have written one function that reads data from some file that exists externally(outside,other than dll file).my ques is how i embed that external file in my dll file so that i haven't to carry out that file always with my dll file.after embeding i want to read that inside file.howz that to be done?

Please re-read his posts, as I already did. Only his first sentence is tricky, but later on he clears it up - he wants to embed data (like a LUT or image or text) into his _own_ dll. He asks how to build his own dll, that contains resources. And then how to read those resources. He even specified _why_ he needs it - and that's the exact reason resources were "invented" in Windows.

sihota:Basically, you make a .rc file (a text file that defines what files to be included, and what dialogs/menus to be made). When you are compiling your .asm code, you also should compile your .rc file, and finally link them together. An example of a .rc file is: