|
From: Per W. <pw...@ia...> - 2003-03-19 19:00:36
|
Sorry, I should try to proof-read before sending :-)
/PWM
On Wed, 19 Mar 2003, Per Westermark wrote:
> Some resource editors allows you to edit the resources in situ. You just
> open an existing exe file - make my anoone - and translates... the
------------------------->made by anyone
> resources and then saves them back to the exe file.
>
> /Per W
>
> On Wed, 19 Mar 2003, Terry L Fritts wrote:
>
> > Hello Louis,
> >
> > Wednesday, March 19, 2003 you wrote:
> > LG> Are .res files optional or must they always be present in WIN32
> > LG> API apps ?
> >
> > Resource files are not necessary.
> >
> > LG> What is the advantage of having a menus etc. in the .res file and
> > LG> not in the .exe file?
> >
> > Resource files are embedded directly into an executable or dll and
> > then at runtime the program uses the resource data. So if data in
> > the resource file changes the program still has to be recompiled
> > to create the executable.
> >
> > Typically you begin with a .rc file (Resource Compiler file) which
> > can be edited. The .rc file is then compiled into a .res file.
> > Some programming languages even have converters for .res files so
> > that you might use it in different application languages.
> >
> > Microsoft has a dialog editor (DLGEDIT.EXE) that produces a .dlg
> > file which can be edited with any text editor and saved as a .rc
> > file. DLGEDIT.exe produces 16 bit binary .res files so normally
> > not usable in 32 bit applications. You can make a few changes to
> > the .dlg file, save it as .rc and then use dev-c++ to edit it.
> > You mainly just change the block in the .dlg:
> > DLGINCLUDE RCDATA FIXED IMPURE
> > BEGIN
> > "FILE.H\0"
> > END
> > to
> > #include "FILE.H"
> >
> > But now if you want to change the ICON or menu strings, other
> > strings, or even other user-defined items you can do it in the .rc
> > file - recompile it to a .res file - and then recompile your
> > application. But you haven't had to touch your code.
> >
> >
> > Terry Fritts
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Does your code think in ink?
> > You could win a Tablet PC. Get a free Tablet PC hat just for playing.
> > What are you waiting for?
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> > _______________________________________________
> > Dev-cpp-users mailing list
> > Dev...@li...
> > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
> >
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Does your code think in ink?
> You could win a Tablet PC. Get a free Tablet PC hat just for playing.
> What are you waiting for?
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|