Board index » delphi » Version Information

Version Information

Can someone please tell me how to create and add a Windows version
information resource to a Delphi .EXE?

Thanks

Ivan Jones

 

Re:Version Information


Quote
In article <31A9EF9A.4...@aztec.co.za> Ivan Jones <igjo...@aztec.co.za> writes:
>Can someone please tell me how to create and add a Windows version
>information resource to a Delphi .EXE?

It is my understanding that there is a freeware component that will do this,
but the old-fashioned way requires a tool like Resource Workshop.  What you do
is to create a RES file using RW, then reference the file in the main-program
of your project, e.g:

        {$R MYRES.RES}

Note that the filename reference must be explicit; "*.RES" does *not* mean
"every resource file in the current directory."  It does not matter if more
than one unit references the same resource-file, but as a matter of principle
I put them in the main-program unit.

/mr/

Re:Version Information


On Mon, 27 May 1996 20:08:26 +0200, Ivan Jones <igjo...@aztec.co.za>
wrote:

Quote
>Can someone please tell me how to create and add a Windows version
>information resource to a Delphi .EXE?

The easiest way is to use a resource editor, such as Borland's
Resource Workshop. Otherwise, you can read about the VERSIONINFO
resource in the Windows API help files, and write a resource script
(.RC file), and compile into a .RES file (using BRCC or BRCC32), which
you include in your Delphi project.

Creating a VERSIONINFO resource by hand can be tricky. It is much
easier to use a resource editor, or at least start by copying an
existing VERSIONINFO resource.
--
Ray Lischner                              li...@tempest-sw.com
Tempest Software, Corvallis, Oregon, USA  http://www.tempest-sw.com

Other Threads