Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Feb : Include RC into Project

www.cryer.info
Managed Newsgroup Archive

Include RC into Project

Subject:Include RC into Project
Posted by:"John Smith" (joseph.wilco..@mckesson.com)
Date:Tue, 26 Feb 2008 11:39:31

I am trying to include an .RC into a my delphi project for the explicit
purpose to change different Resource Strings based upon different compiler
directives.

What I did in my project was include:

{$DEFINE HOOK}

and in my resource file I have

#ifdef HOOK
value "FileDescription" "What it isn't"
#else
value "FileDescription" "What it is"
#endif

So far, I haven't been able to get the compiler directive to take, no matter
how I define it.

Any help would be appreciated.

Joseph

Replies:

www.cryer.info
Managed Newsgroup Archive