Re: Read a application version number
- From: "DIKonsult" <dag.idoff@xxxxxxxxxxxxx>
- Date: Tue, 29 Aug 2006 21:03:09 GMT
Aren't you a clever boy, Rob
"Rob Kennedy" <me3@xxxxxxxxxxx> skrev i meddelandet
news:4ljl1eF27mjeU1@xxxxxxxxxxxxxxxxx
DIKonsult wrote:
I do have JCL Components installed but where do I find the class
TJclVersionFileInfo ?
You have the source code. If you want to know where something is declared,
ask your own computer, not a newsgroup. Here's how I found it on mine:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Rob>cd \src\jcl\source
C:\src\jcl\source>grep -r -l TJclVersionFileInfo *
C:\src\jcl\source>
Apparently, the answer is that you don't find that class at all; JCL
doesn't have a class by that name. Let's try something else:
C:\src\jcl\source>grep -r -l TJclFileVersionInfo *
common/JclFileUtils.pas
common/JclResources.pas
windows/JclCOM.pas
windows/JclPeImage.pas
C:\src\jcl\source>
The class is named TJclFileVersionInfo, and it's mentioned in the files
listed above. Which one is it declared in?
C:\src\jcl\source>grep -r -l "TJclFileVersionInfo = class" *
common/JclFileUtils.pas
C:\src\jcl\source>
So I guess your answer is that you find it in the JclFileUtils unit.
--
Rob
.
- Follow-Ups:
- Re: Read a application version number
- From: Maarten Wiltink
- Re: Read a application version number
- References:
- Read a application version number
- From: DIKonsult
- Re: Read a application version number
- From: Brad
- Re: Read a application version number
- From: DIKonsult
- Re: Read a application version number
- From: Phillip Flores
- Re: Read a application version number
- From: DIKonsult
- Re: Read a application version number
- From: Rob Kennedy
- Read a application version number
- Prev by Date: Re: Read a application version number
- Next by Date: Re: Read a application version number
- Previous by thread: Re: Read a application version number
- Next by thread: Re: Read a application version number
- Index(es):