🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #1939

Re: How to use Non Alphabet characters in a .rc file

#1939
From: Curt Johnson
Date: Wed, 03 Apr 1991 01:24
19 lines
1329 bytes
Sorry if this is a duplicate, the first one didn't seem to work.


In article <1991Apr1.180639.13999@icad.com> crm@icad.com (Christopher McConnell) writes:
| I would like to create a string in my resource file which has the
| copyright symbol in it.  I will then be using this string in
| LoadString for the About... dialog box.  I know that the resource
| file recognizes \015 as a character return.  Is there any way to
| get the little (c) for a copyright in a resource string?

\015 is an octal contant for CR.

In a .c file I use \xA9 in a string for the copyright mark, try
this, or it's octal equivalent \251 (the leading 0 *might* be
required, I don't know if the .rc file is parsed exactly like
c, if \251 doesn't work, try \0251 or \169).


Curt Johnson == curt@cctb.wa.com
Technical Details
Message-ID: <wfymg8q8a@cctb.wa.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!cs.uoregon.edu!ns.uoregon.edu!milton!sumax!quick!cctb!curt
References: <1991Apr1.180639.13999@icad.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!cs.uoregon.edu!ns.uoregon.edu!milton!sumax!quick!cctb!curt
From: curt@cctb.wa.com (Curt Johnson)
Newsgroups: comp.windows.ms.programmer
Subject: Re: How to use Non Alphabet characters in a .rc file
Summary: copyright mark == hex A9
Message-ID: <wfymg8q8a@cctb.wa.com>
Date: 3 Apr 91 01:24:51 GMT
References: <1991Apr1.180639.13999@icad.com>
Distribution: usa
Organization: Chemical Computer Thinking Battery, Redmond, WA
Lines: 19