hi,
how i add & read files from dll on runtime.i heard about .rc files can it be helpful in
case of dll.plz reply soon,if yes plz guide me some start
@@:
regards
sihota
Maybe I am the only one, but I don't have any clue what you are talking about.
If you are not a native english speaker (like me) then you should use a dictionary to aid you in your posting process.
Maybe the link in my signature might be helpful...
Sorry
sihotaamarpal,
What are you trying to achieve exactly? You would like to update the resource section in your DLL?
hi vortex
i have a func that reads data from some file.actually i want to add that file in dll and read at runtime,that's actually i try to acheive.
sihotaamarpal,
Do you mean that you want to create a DLL using that file or do you have an existing DLL that you wish to use. Both options can be done.
Paul
sorry for my bad writing way that creates misunderstation
in clear sene
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?
Assuming that you will not update later your DLL, you can use Hutch's fda ( file data assembler ) to embed your data file in your DLL.
thks vortex
sihotaamarpal,
Welcome Aboard :U
The forum 'Search' and your favorite seach engine will answer many questions before we can and save you time. :dance:
As far as dll's as a file storage container, I would look at other solutions.
From what I can tell here, Program a .ZIP solution ( Use Forum Search for more details. ) using encyption and an alternate file extension, for storing/archiving other files. This should be quick and easy to get you going.
Regards, P1 :8)
Quote from: Vortex on September 20, 2006, 06:00:59 PM
Assuming that you will not update later your DLL, you can use Hutch's fda ( file data assembler ) to embed your data file in your DLL.
i am litle confused :red
is this come with masm32 instalation?
Trodon,
Check your masm32 folder, you will see both the console and GUI versions of fda.
Trodon,
The GUI version is called fda2.exe (bin folder)
Paul
Quote from: PBrennick on September 20, 2006, 07:55:05 PM
Trodon,
The GUI version is called fda2.exe (bin folder)
Paul
belive or not i dont have this file in my masm32/bin folder :eek
this is very strange
btw: i have masm32 v9
and this is the list of my bin folder files:
(http://img225.imageshack.us/img225/946/untitledsq1.jpg)
My fault, I evidently moved them there. They are in the root folder not the bin folder. If you installed on drive C, it will be c:\masm32\fda.exe
Sorry for the mix up,
Paul
Quote from: PBrennick on September 21, 2006, 12:10:46 PM
My fault, I evidently moved them there. They are in the root folder not the bin folder. If you installed on drive C, it will be c:\masm32\fda.exe
Sorry for the mix up,
Paul
nope, i was just look in all possible folders, and even examples :)
and i was found nothing
and i also try to reinstall masm32 and the result is same :'(
You should report that to Hutch. In the meantime, I am attaching the two files here.
Paul
[attachment deleted by admin]
As installed the two versions of FDA are in the MASM32 directory. The source for both of them are in the TOOLS directory.
Trodon,
Are you sure that you got Masm32 V9 from the right place?
http://www.masm32.com/masmdl.htm
Quote from: Vortex on September 21, 2006, 04:46:20 PM
Trodon,
Are you sure that you got Masm32 V9 from the right place?
http://www.masm32.com/masmdl.htm
ofcourse :wink
i will download again just to be sure :U
Trodon,
After you re-install MASM32 (or before, actually), click START, SEARCH, For Files or Folders and when the search window opens, in the left pane select All Files and Folders. Then (in the left pane) in the box below All or Part of the Filename, type FDA.EXE and then click the SEARCH button. The search results will be displayed in the right Pane.
Paul
i cannot belive my eyes, i was downloaded again from united states mirror and reinstall masm32
and now is here fda.exe and fda2.exe and many more, like macros about 100kb :eek
i dont know whats happen with previus masm on my hard drive, but i was glad on some way :bg
because i now have many more things :U
Trodon,
Probably, there was a problem during the download of the previous package and you received a corrupted zip file. Now, you downloaded it successfully and everything is OK.
Hutch has worked very hard putting together a top-notch package. I am glad that you can now see it in all its glory. Hutch is probably blushing right about now! :lol
Paul