You are correct, I missed that. The patch should be:
--- orig_version.rc Mon Dec 13 06:55:40 1999
+++ version.rc Mon Dec 13 06:55:57 1999
@@ -8,5 +8,5 @@
// Generated from the TEXTINCLUDE 2 resource.
//
-#include "afxres.h"
+#include "windows.h"
@@ -82,5 +82,5 @@
2 TEXTINCLUDE DISCARDABLE
BEGIN
- "#include ""afxres.h""\r\n"
+ "#include ""windows.h""\r\n"
"\r\n"
"\0"
BTW when I edit the resources with the IDE it looks like
the string table gets converted to ASCII, for example in Version.rc:
STRINGTABLE DISCARDABLE
BEGIN
2
L"\x004E\x006F\x0074\x0061\x0074\x0069\x006F\x006E\x0020\x0027\x007B\x0030\x
007D\x0027\x0020\x0068\x0061\x0073\x0020\x0061\x006C\x0072\x0065\x0061\x0064
\x0079\x0020\x0062\x0065\x0065\x006E\x0020\x0064\x0065\x0063\x006C\x0061\x00
72\x0065\x0064\x00"
3
L"\x0041\x0074\x0074\x0072\x0069\x0062\x0075\x0074\x0065\x0020\x0027\x007B\x
0030\x007D\x0027\x0020\x0068\x0061\x0073\x0020\x0061\x006C\x0072\x0065\x0061
\x0064\x0079\x0020\x0062\x0065\x0065\x006E\x0020\x0064\x0065\x0063\x006C\x00
61\x0072\x0065\x0064\x00"
4
L"\x0045\x006E\x0063\x006F\x0064\x0069\x006E\x0067\x0020\x0028\x007B\x0030\x
007D\x002C\x0020\x0066\x0072\x006F\x006D\x0020\x0058\x004D\x004C\x0044\x0065
\x0063\x006C\x0020\x006F\x0072\x0020\x006D\x0061\x006E\x0075\x0061\x006C\x00
6C\x0079\x0020\x0073\x0065\x0074\x0029\x0020\x0063\x006F\x006E\x0074\x0072\x
0061\x0064\x0069\x0063\x0074\x0073\x0020\x0074\x0068\x0065\x0020\x0061\x0075
\x0074\x006F\x002D\x0073\x0065\x006E\x0073\x0065\x0064\x0020\x0065\x006E\x00
63\x006F\x0064\x0069\x006E\x0067\x002C\x0020\x0069\x0067\x006E\x006F\x0072\x
0069\x006E\x0067\x0020\x0069\x0074\x00"
After I edit the string table with the IDE this gets converted into:
STRINGTABLE DISCARDABLE
BEGIN
2 "Notation '{0}' has already been declared "
3 "Attribute '{0}' has already been declared"
4 "Encoding ({0}, from XMLDecl or manually set)
contradicts the auto-sensed encoding, ignoring it"
Am I missing a setting?
Thanks,
-joe
-----------------------------------------------
Joe Gregorio [EMAIL PROTECTED]
Project Engineer MTS Systems Corporation
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 09, 1999 9:08 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PATCH] For VC6
>
>
>
>
>
>
> ---------------------- Forwarded by Andy
> Heninger/Cupertino/IBM on 12/09/99
> 06:07 PM ---------------------------
>
> Dean Roddey
> 12/09/99 06:04 PM
>
> To: [EMAIL PROTECTED]@internet
> cc: Andy Heninger/Cupertino/[EMAIL PROTECTED]
> From: Dean Roddey/Cupertino/[EMAIL PROTECTED]
> Subject: Re: [PATCH] For VC6 (Document link: Andy Heninger)
>
>
> Joe, thanks for the suggestion. However, if you use IDE to manage the
> resources (and we do and want customers to be able to do so
> as well), VC++
> will always put afxres.h back into the RC file. This would require a
> re-edit after every modification of resources via the IDE. Given that
> either way would require work, and that the vast majority of
> people would
> have MFC installed, and we want to explain how to make things
> work to the
> least number of people possible, we will probably leave it as
> is and let
> those folks who don't have MFC do the edit themselves.
>
> ----------------------------------------
> Dean Roddey
> Software Weenie
> IBM Center for Java Technology - Silicon Valley
> [EMAIL PROTECTED]
>
>
>
> From: Andy Heninger on 12/09/99 05:26 PM
>
> To: Dean Roddey/Cupertino/[EMAIL PROTECTED]
> cc:
> From: Andy Heninger/Cupertino/[EMAIL PROTECTED]
> Subject: [PATCH] For VC6
>
>
>
>
> -- Andy Heninger
> IBM Center for Java Technology, Cupertino, CA
> [EMAIL PROTECTED]
>
>
> ---------------------- Forwarded by Andy
> Heninger/Cupertino/IBM on 12/09/99
> 05:26 PM ---------------------------
>
> "Gregorio, Joe" <[EMAIL PROTECTED]> on 12/08/99 04:06:38 AM
>
> Please respond to [EMAIL PROTECTED]
>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> cc:
> Subject: [PATCH] For VC6
>
>
>
> This will allow xerces to be built with an install of
> VC6 where MFC has not been installed. Afxres.h
> is only present when MFC has been installed.
>
> --- orig/Version.rc Wed Dec 08 06:38:46 1999
> +++ Version.rc Wed Dec 08 06:38:59 1999
> @@ -7,7 +7,7 @@
> //
> // Generated from the TEXTINCLUDE 2 resource.
> //
> -#include "afxres.h"
> +#include "windows.h"
>
>
>
> //////////////////////////////////////////////////////////////
> //////////////
>
> /
>
>
> P.S. Please let me know if I have done this incorrectly, as this
> is my first patch submission.
>
> Thanks,
> -joe
>
> -----------------------------------------------
> Joe Gregorio [EMAIL PROTECTED]
> Project Engineer MTS Systems Corporation
>
>
>
>
>
>
>
>